aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-20 10:30:48 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-21 00:30:19 -0400
commitb684106a53c42f1cd089c09809d236036e2af5ad (patch)
tree3e1f9170e5c2be9e637f3aa9696fff0a15403790
parentcbda50138774eaf5dbce145ebb045424a30880b9 (diff)
ps3_gelic: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/toshiba/ps3_gelic_wireless.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c
index 2553ed5d2ece..0a7f2e77557f 100644
--- a/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c
+++ b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c
@@ -1828,25 +1828,18 @@ static const char *wpasecstr(enum gelic_eurus_wpa_security sec)
1828 switch (sec) { 1828 switch (sec) {
1829 case GELIC_EURUS_WPA_SEC_NONE: 1829 case GELIC_EURUS_WPA_SEC_NONE:
1830 return "NONE"; 1830 return "NONE";
1831 break;
1832 case GELIC_EURUS_WPA_SEC_WPA_TKIP_TKIP: 1831 case GELIC_EURUS_WPA_SEC_WPA_TKIP_TKIP:
1833 return "WPA_TKIP_TKIP"; 1832 return "WPA_TKIP_TKIP";
1834 break;
1835 case GELIC_EURUS_WPA_SEC_WPA_TKIP_AES: 1833 case GELIC_EURUS_WPA_SEC_WPA_TKIP_AES:
1836 return "WPA_TKIP_AES"; 1834 return "WPA_TKIP_AES";
1837 break;
1838 case GELIC_EURUS_WPA_SEC_WPA_AES_AES: 1835 case GELIC_EURUS_WPA_SEC_WPA_AES_AES:
1839 return "WPA_AES_AES"; 1836 return "WPA_AES_AES";
1840 break;
1841 case GELIC_EURUS_WPA_SEC_WPA2_TKIP_TKIP: 1837 case GELIC_EURUS_WPA_SEC_WPA2_TKIP_TKIP:
1842 return "WPA2_TKIP_TKIP"; 1838 return "WPA2_TKIP_TKIP";
1843 break;
1844 case GELIC_EURUS_WPA_SEC_WPA2_TKIP_AES: 1839 case GELIC_EURUS_WPA_SEC_WPA2_TKIP_AES:
1845 return "WPA2_TKIP_AES"; 1840 return "WPA2_TKIP_AES";
1846 break;
1847 case GELIC_EURUS_WPA_SEC_WPA2_AES_AES: 1841 case GELIC_EURUS_WPA_SEC_WPA2_AES_AES:
1848 return "WPA2_AES_AES"; 1842 return "WPA2_AES_AES";
1849 break;
1850 } 1843 }
1851 return ""; 1844 return "";
1852}; 1845};