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/11n.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/11n.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/11n.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.c b/drivers/net/wireless/mwifiex/11n.c index edf4c274fa9b..c57107a860d1 100644 --- a/drivers/net/wireless/mwifiex/11n.c +++ b/drivers/net/wireless/mwifiex/11n.c | |||
@@ -543,8 +543,6 @@ mwifiex_cfg_tx_buf(struct mwifiex_private *priv, | |||
543 | if (curr_tx_buf_size != tx_buf) | 543 | if (curr_tx_buf_size != tx_buf) |
544 | mwifiex_send_cmd_async(priv, HostCmd_CMD_RECONFIGURE_TX_BUFF, | 544 | mwifiex_send_cmd_async(priv, HostCmd_CMD_RECONFIGURE_TX_BUFF, |
545 | HostCmd_ACT_GEN_SET, 0, &tx_buf); | 545 | HostCmd_ACT_GEN_SET, 0, &tx_buf); |
546 | |||
547 | return; | ||
548 | } | 546 | } |
549 | 547 | ||
550 | /* | 548 | /* |
@@ -582,8 +580,6 @@ void mwifiex_11n_delete_tx_ba_stream_tbl_entry(struct mwifiex_private *priv, | |||
582 | list_del(&tx_ba_tsr_tbl->list); | 580 | list_del(&tx_ba_tsr_tbl->list); |
583 | 581 | ||
584 | kfree(tx_ba_tsr_tbl); | 582 | kfree(tx_ba_tsr_tbl); |
585 | |||
586 | return; | ||
587 | } | 583 | } |
588 | 584 | ||
589 | /* | 585 | /* |
@@ -662,8 +658,6 @@ void mwifiex_11n_create_tx_ba_stream_tbl(struct mwifiex_private *priv, | |||
662 | list_add_tail(&new_node->list, &priv->tx_ba_stream_tbl_ptr); | 658 | list_add_tail(&new_node->list, &priv->tx_ba_stream_tbl_ptr); |
663 | spin_unlock_irqrestore(&priv->tx_ba_stream_tbl_lock, flags); | 659 | spin_unlock_irqrestore(&priv->tx_ba_stream_tbl_lock, flags); |
664 | } | 660 | } |
665 | |||
666 | return; | ||
667 | } | 661 | } |
668 | 662 | ||
669 | /* | 663 | /* |