mwifiex: remove explicit mwifiex_complete_cmd calls
authorAndreas Fenkart <afenkart@gmail.com>
Fri, 17 Jul 2015 07:13:03 +0000 (09:13 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:09:02 +0000 (10:09 +0300)
commite3a3ef25b8cb6d7a20b52dfdadd56516041ffb51
tree26b7d3db682336686076cc720b23e2b951cf188b
parentb4336a282db86b298b70563f8ed51782b36b772c
mwifiex: remove explicit mwifiex_complete_cmd calls

standard call chain when releasing a cmd node:
mwifiex_recycle_cmd_node
-> mwifiex_insert_cmd_to_free_q
-> mwifiex_complete_cmd, if wait_q_enabled

calling mwifiex_complete_cmd explicitly and setting
wait_q_enabled = false is redundant

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cmdevt.c