diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-02-13 08:51:22 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-14 03:33:38 +0400 |
commit | 2045ceaed4d54e6e698874d008be727ee5b2a01c (patch) | |
tree | a481bc211dd20db90275aceab3721c7a8fb147d9 /net/wireless/chan.c | |
parent | 45f7435968363816f8fc4c6abef692808534140d (diff) | |
download | linux-2045ceaed4d54e6e698874d008be727ee5b2a01c.tar.xz |
net: remove unnecessary return's
One of my pet coding style peeves is the practice of
adding extra return; at the end of function.
Kill several instances of this in network code.
I suppose some coccinelle wizardy could do this automatically.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/chan.c')
-rw-r--r-- | net/wireless/chan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/chan.c b/net/wireless/chan.c index 78559b5bbd1f..a04b884f5d04 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c @@ -701,6 +701,4 @@ cfg80211_get_chan_state(struct wireless_dev *wdev, case NUM_NL80211_IFTYPES: WARN_ON(1); } - - return; } |