aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/11n.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2011-04-13 20:27:08 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-14 15:35:13 -0400
commit572e8f3ead47ad223fb428a4f1db986317e8e0ec (patch)
treeb5542aa018fad9705b229d695e84e4c194f7ccc3 /drivers/net/wireless/mwifiex/11n.c
parent19a898601ad192d8c59c3a8f1a4501919f53b94d (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/11n.c')
-rw-r--r--drivers/net/wireless/mwifiex/11n.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.c b/drivers/net/wireless/mwifiex/11n.c
index c57107a860d1..d64065ff235c 100644
--- a/drivers/net/wireless/mwifiex/11n.c
+++ b/drivers/net/wireless/mwifiex/11n.c
@@ -242,9 +242,7 @@ int mwifiex_ret_11n_addba_req(struct mwifiex_private *priv,
242 * 242 *
243 * Handling includes changing the header fields into CPU format. 243 * Handling includes changing the header fields into CPU format.
244 */ 244 */
245int mwifiex_ret_11n_cfg(struct mwifiex_private *priv, 245int mwifiex_ret_11n_cfg(struct host_cmd_ds_command *resp, void *data_buf)
246 struct host_cmd_ds_command *resp,
247 void *data_buf)
248{ 246{
249 struct mwifiex_ds_11n_tx_cfg *tx_cfg = NULL; 247 struct mwifiex_ds_11n_tx_cfg *tx_cfg = NULL;
250 struct host_cmd_ds_11n_cfg *htcfg = &resp->params.htcfg; 248 struct host_cmd_ds_11n_cfg *htcfg = &resp->params.htcfg;
@@ -298,8 +296,7 @@ int mwifiex_cmd_recfg_tx_buf(struct mwifiex_private *priv,
298 * - Setting AMSDU control parameters (for SET only) 296 * - Setting AMSDU control parameters (for SET only)
299 * - Ensuring correct endian-ness 297 * - Ensuring correct endian-ness
300 */ 298 */
301int mwifiex_cmd_amsdu_aggr_ctrl(struct mwifiex_private *priv, 299int mwifiex_cmd_amsdu_aggr_ctrl(struct host_cmd_ds_command *cmd,
302 struct host_cmd_ds_command *cmd,
303 int cmd_action, void *data_buf) 300 int cmd_action, void *data_buf)
304{ 301{
305 struct host_cmd_ds_amsdu_aggr_ctrl *amsdu_ctrl = 302 struct host_cmd_ds_amsdu_aggr_ctrl *amsdu_ctrl =
@@ -331,8 +328,7 @@ int mwifiex_cmd_amsdu_aggr_ctrl(struct mwifiex_private *priv,
331 * 328 *
332 * Handling includes changing the header fields into CPU format. 329 * Handling includes changing the header fields into CPU format.
333 */ 330 */
334int mwifiex_ret_amsdu_aggr_ctrl(struct mwifiex_private *priv, 331int mwifiex_ret_amsdu_aggr_ctrl(struct host_cmd_ds_command *resp,
335 struct host_cmd_ds_command *resp,
336 void *data_buf) 332 void *data_buf)
337{ 333{
338 struct mwifiex_ds_11n_amsdu_aggr_ctrl *amsdu_aggr_ctrl = NULL; 334 struct mwifiex_ds_11n_amsdu_aggr_ctrl *amsdu_aggr_ctrl = NULL;
@@ -357,8 +353,7 @@ int mwifiex_ret_amsdu_aggr_ctrl(struct mwifiex_private *priv,
357 * - Setting HT Tx capability and HT Tx information fields 353 * - Setting HT Tx capability and HT Tx information fields
358 * - Ensuring correct endian-ness 354 * - Ensuring correct endian-ness
359 */ 355 */
360int mwifiex_cmd_11n_cfg(struct mwifiex_private *priv, 356int mwifiex_cmd_11n_cfg(struct host_cmd_ds_command *cmd,
361 struct host_cmd_ds_command *cmd,
362 u16 cmd_action, void *data_buf) 357 u16 cmd_action, void *data_buf)
363{ 358{
364 struct host_cmd_ds_11n_cfg *htcfg = &cmd->params.htcfg; 359 struct host_cmd_ds_11n_cfg *htcfg = &cmd->params.htcfg;