summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/wmm.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2011-04-14 04:27:08 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-14 23:35:13 +0400
commit572e8f3ead47ad223fb428a4f1db986317e8e0ec (patch)
treeb5542aa018fad9705b229d695e84e4c194f7ccc3 /drivers/net/wireless/mwifiex/wmm.h
parent19a898601ad192d8c59c3a8f1a4501919f53b94d (diff)
downloadlinux-572e8f3ead47ad223fb428a4f1db986317e8e0ec.tar.xz
mwifiex: remove unused function parameters
Some function parameters become useless after previous cleanup changes. Signed-off-by: Amitkumar Karwar <akarwar@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/wmm.h')
-rw-r--r--drivers/net/wireless/mwifiex/wmm.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/mwifiex/wmm.h b/drivers/net/wireless/mwifiex/wmm.h
index 241f1b0b77f9..fcea1f68792f 100644
--- a/drivers/net/wireless/mwifiex/wmm.h
+++ b/drivers/net/wireless/mwifiex/wmm.h
@@ -35,8 +35,7 @@ enum ieee_types_wmm_ecw_bitmasks {
* This function retrieves the TID of the given RA list.
*/
static inline int
-mwifiex_get_tid(struct mwifiex_adapter *adapter,
- struct mwifiex_ra_list_tbl *ptr)
+mwifiex_get_tid(struct mwifiex_ra_list_tbl *ptr)
{
struct sk_buff *skb;
@@ -52,7 +51,7 @@ mwifiex_get_tid(struct mwifiex_adapter *adapter,
* This function gets the length of a list.
*/
static inline int
-mwifiex_wmm_list_len(struct mwifiex_adapter *adapter, struct list_head *head)
+mwifiex_wmm_list_len(struct list_head *head)
{
struct list_head *pos;
int count = 0;
@@ -67,8 +66,7 @@ mwifiex_wmm_list_len(struct mwifiex_adapter *adapter, struct list_head *head)
* This function checks if a RA list is empty or not.
*/
static inline u8
-mwifiex_wmm_is_ra_list_empty(struct mwifiex_adapter *adapter,
- struct list_head *ra_list_hhead)
+mwifiex_wmm_is_ra_list_empty(struct list_head *ra_list_hhead)
{
struct mwifiex_ra_list_tbl *ra_list;
int is_list_empty;