mwifiex: stop checking for NULL drvata/intfdata
authorBrian Norris <briannorris@chromium.org>
Fri, 18 Nov 2016 14:00:33 +0000 (19:30 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 19 Nov 2016 07:18:52 +0000 (09:18 +0200)
commite98fb11ffa0ab8fd3e99a0d8ff7c2bbb7418a834
treed9b9d250fd499c0ae4e86a22c398f447aacb96ac
parent6caf34cb3a92bbd5df6844cb3248c3858797452f
mwifiex: stop checking for NULL drvata/intfdata

These are never NULL, so stop making people think they might be.

I don't change this for SDIO because SDIO has a racy card-reset handler
that reallocates this struct. I'd rather not touch that mess right now.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Tested-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/usb.c