mwifiex: remove unnecessary wakeup interrupt number sanity check
authorXinming Hu <huxm@marvell.com>
Thu, 13 Apr 2017 06:48:19 +0000 (06:48 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 07:18:07 +0000 (10:18 +0300)
commit625b4dba57b256943a1714c7783e3cfbb52ce5c3
treebcd711ae1fb6f3ba637d3a79f698c6ec98b9f3d5
parent7e2f18f06408ff56d7f75e68de8064777137b319
mwifiex: remove unnecessary wakeup interrupt number sanity check

If wakeup interrupt handler is called, we know that the wakeup
interrupt number is valid, there is no need to check it.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c