summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorYogesh Ashok Powar <yogeshp@marvell.com>2011-04-13 17:27:07 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-04-14 15:35:12 -0400
commit19a898601ad192d8c59c3a8f1a4501919f53b94d (patch)
tree4d1405ad86f7c69ef63cbdc6dca3dc5e34f844da /drivers/net/wireless/mwifiex/init.c
parent600f5d909a54a8dccf8c8c23898fc2e91bc0953e (diff)
downloadlinux-19a898601ad192d8c59c3a8f1a4501919f53b94d.tar.bz2
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.c6
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)
adapter->adhoc_awake_period = 0;
memset(&adapter->arp_filter, 0, sizeof(adapter->arp_filter));
adapter->arp_filter_size = 0;
-
- return;
}
/*
@@ -339,8 +337,6 @@ mwifiex_free_adapter(struct mwifiex_adapter *adapter)
adapter->if_ops.cleanup_if(adapter);
dev_kfree_skb_any(adapter->sleep_cfm);
-
- return;
}
/*
@@ -428,8 +424,6 @@ void mwifiex_free_lock_list(struct mwifiex_adapter *adapter)
list_del(&priv->rx_reorder_tbl_ptr);
}
}
-
- return;
}
/*