ravb: kill useless *switch* defaults
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 14 Feb 2016 19:56:03 +0000 (22:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:30:23 +0000 (15:30 -0500)
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>
drivers/net/ethernet/renesas/ravb_main.c

index c936682aae68df0808eb68c63c25b42b0e3b4dca..331c5969dca418de78a8cc0ec702fe711cb08705 100644 (file)
@@ -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;
        }
 }