diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-04-13 20:27:08 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-14 15:35:13 -0400 |
commit | 572e8f3ead47ad223fb428a4f1db986317e8e0ec (patch) | |
tree | b5542aa018fad9705b229d695e84e4c194f7ccc3 /drivers/net/wireless/mwifiex/scan.c | |
parent | 19a898601ad192d8c59c3a8f1a4501919f53b94d (diff) |
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/scan.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/scan.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/mwifiex/scan.c b/drivers/net/wireless/mwifiex/scan.c index 12fe021536d1..84742715893f 100644 --- a/drivers/net/wireless/mwifiex/scan.c +++ b/drivers/net/wireless/mwifiex/scan.c | |||
@@ -2364,8 +2364,7 @@ int mwifiex_scan_networks(struct mwifiex_private *priv, | |||
2364 | * - Setting command ID, and proper size | 2364 | * - Setting command ID, and proper size |
2365 | * - Ensuring correct endian-ness | 2365 | * - Ensuring correct endian-ness |
2366 | */ | 2366 | */ |
2367 | int mwifiex_cmd_802_11_scan(struct mwifiex_private *priv, | 2367 | int mwifiex_cmd_802_11_scan(struct host_cmd_ds_command *cmd, void *data_buf) |
2368 | struct host_cmd_ds_command *cmd, void *data_buf) | ||
2369 | { | 2368 | { |
2370 | struct host_cmd_ds_802_11_scan *scan_cmd = &cmd->params.scan; | 2369 | struct host_cmd_ds_802_11_scan *scan_cmd = &cmd->params.scan; |
2371 | struct mwifiex_scan_cmd_config *scan_cfg; | 2370 | struct mwifiex_scan_cmd_config *scan_cfg; |
@@ -2658,9 +2657,7 @@ done: | |||
2658 | * - Setting background scan flush parameter | 2657 | * - Setting background scan flush parameter |
2659 | * - Ensuring correct endian-ness | 2658 | * - Ensuring correct endian-ness |
2660 | */ | 2659 | */ |
2661 | int mwifiex_cmd_802_11_bg_scan_query(struct mwifiex_private *priv, | 2660 | int mwifiex_cmd_802_11_bg_scan_query(struct host_cmd_ds_command *cmd) |
2662 | struct host_cmd_ds_command *cmd, | ||
2663 | void *data_buf) | ||
2664 | { | 2661 | { |
2665 | struct host_cmd_ds_802_11_bg_scan_query *bg_query = | 2662 | struct host_cmd_ds_802_11_bg_scan_query *bg_query = |
2666 | &cmd->params.bg_scan_query; | 2663 | &cmd->params.bg_scan_query; |