summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-12 20:09:44 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-14 08:45:24 +0200
commit1205d38d862dd7ae0f4349045cac511b11603736 (patch)
treeb7f6463b98dc65fd7a4ef62c7c5ed553788b6300 /drivers
parenti40evf: remove unnecessary break after goto (diff)
downloadlinux-1205d38d862dd7ae0f4349045cac511b11603736.tar.xz
linux-1205d38d862dd7ae0f4349045cac511b11603736.zip
ps3_gelic: remove unnecessary break after goto
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/toshiba/ps3_gelic_wireless.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c
index d568af1eb4f4..2553ed5d2ece 100644
--- a/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c
+++ b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c
@@ -723,13 +723,10 @@ static int gelic_wl_get_scan(struct net_device *netdev,
/* If a scan in progress, caller should call me again */
ret = -EAGAIN;
goto out;
- break;
-
case GELIC_WL_SCAN_STAT_INIT:
/* last scan request failed or never issued */
ret = -ENODEV;
goto out;
- break;
case GELIC_WL_SCAN_STAT_GOT_LIST:
/* ok, use current list */
break;