commit | aeb03000837eec7df4f57034106542efd60be02b | [log] [tgz] |
---|---|---|
author | Andreas Fenkart <afenkart@gmail.com> | Fri Jul 17 09:13:04 2015 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Aug 06 10:09:05 2015 +0300 |
tree | 91d21cb3be43f318ad801ba720ed1f670b8de235 | |
parent | e3a3ef25b8cb6d7a20b52dfdadd56516041ffb51 [diff] |
mwifiex: remove redundant reset of cmd_wait_q status mwifiex_cancel_pending_ioctl is called only from mwifiex_cmd_timeout_func. There the wait_q status is set to -ETIMEDWAIT before calling this function. Whether we reset the status to -1 or leave it at -ETIMEDWAIT at end doesn't matter since both are != 0 hence mean failure Signed-off-by: Andreas Fenkart <afenkart@gmail.com> Acked-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>