* [PATCH] staging: wlan-ng: coding style problem fix
@ 2014-07-31 19:33 Modestas Stankus
0 siblings, 0 replies; only message in thread
From: Modestas Stankus @ 2014-07-31 19:33 UTC (permalink / raw)
To: gregkh; +Cc: Modestas Stankus, devel, linux-kernel
WARNING: break is not useful after a goto or return
201: FILE: drivers/staging/wlan-ng/p80211conv.c:201:
+ return 1;
+ break;
Signed-off-by: Modestas Stankus <stankus.modestas@gmail.com>
---
drivers/staging/wlan-ng/p80211conv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c
index 913676e..3b5468c 100644
--- a/drivers/staging/wlan-ng/p80211conv.c
+++ b/drivers/staging/wlan-ng/p80211conv.c
@@ -198,7 +198,6 @@ int skb_ether_to_p80211(wlandevice_t *wlandev, u32 ethconv,
netdev_err(wlandev->netdev,
"Error: Converting eth to wlan in unknown mode.\n");
return 1;
- break;
}
p80211_wep->data = NULL;
--
2.0.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-31 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-31 19:33 [PATCH] staging: wlan-ng: coding style problem fix Modestas Stankus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®