diff options
author | Yogesh Ashok Powar <yogeshp@marvell.com> | 2011-04-13 20:27:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-14 15:35:12 -0400 |
commit | 19a898601ad192d8c59c3a8f1a4501919f53b94d (patch) | |
tree | 4d1405ad86f7c69ef63cbdc6dca3dc5e34f844da /drivers/net/wireless/mwifiex/init.c | |
parent | 600f5d909a54a8dccf8c8c23898fc2e91bc0953e (diff) |
mwifiex: remove redundant "return" at end of void function
The return statement at the last line of a void function
is not necessary.
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/init.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c index 26931d5f950f..1b79a5ac9214 100644 --- a/drivers/net/wireless/mwifiex/init.c +++ b/drivers/net/wireless/mwifiex/init.c | |||
@@ -299,8 +299,6 @@ static void mwifiex_init_adapter(struct mwifiex_adapter *adapter) | |||
299 | adapter->adhoc_awake_period = 0; | 299 | adapter->adhoc_awake_period = 0; |
300 | memset(&adapter->arp_filter, 0, sizeof(adapter->arp_filter)); | 300 | memset(&adapter->arp_filter, 0, sizeof(adapter->arp_filter)); |
301 | adapter->arp_filter_size = 0; | 301 | adapter->arp_filter_size = 0; |
302 | |||
303 | return; | ||
304 | } | 302 | } |
305 | 303 | ||
306 | /* | 304 | /* |
@@ -339,8 +337,6 @@ mwifiex_free_adapter(struct mwifiex_adapter *adapter) | |||
339 | adapter->if_ops.cleanup_if(adapter); | 337 | adapter->if_ops.cleanup_if(adapter); |
340 | 338 | ||
341 | dev_kfree_skb_any(adapter->sleep_cfm); | 339 | dev_kfree_skb_any(adapter->sleep_cfm); |
342 | |||
343 | return; | ||
344 | } | 340 | } |
345 | 341 | ||
346 | /* | 342 | /* |
@@ -428,8 +424,6 @@ void mwifiex_free_lock_list(struct mwifiex_adapter *adapter) | |||
428 | list_del(&priv->rx_reorder_tbl_ptr); | 424 | list_del(&priv->rx_reorder_tbl_ptr); |
429 | } | 425 | } |
430 | } | 426 | } |
431 | |||
432 | return; | ||
433 | } | 427 | } |
434 | 428 | ||
435 | /* | 429 | /* |