summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2016-02-14 22:56:03 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-17 15:30:23 -0500
commitbb64b035f8a8474c79c3554b921c136558bc18c5 (patch)
tree9752e3ff8fce5d701e1f49b34ff55045768f1e45 /drivers/net/ethernet/renesas
parent2069230401d3d56c8d1fb9f8249e1a6d2bb31b35 (diff)
downloadtalos-obmc-linux-bb64b035f8a8474c79c3554b921c136558bc18c5.tar.gz
talos-obmc-linux-bb64b035f8a8474c79c3554b921c136558bc18c5.zip
ravb: kill useless *switch* defaults
The driver has the *default* case doing nothing in the *switch* statement with an integer expression -- remove it. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r--drivers/net/ethernet/renesas/ravb_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c
index c936682aae68..331c5969dca4 100644
--- a/drivers/net/ethernet/renesas/ravb_main.c
+++ b/drivers/net/ethernet/renesas/ravb_main.c
@@ -92,8 +92,6 @@ static void ravb_set_rate(struct net_device *ndev)
case 1000: /* 1000BASE */
ravb_write(ndev, GECMR_SPEED_1000, GECMR);
break;
- default:
- break;
}
}
OpenPOWER on IntegriCloud