]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f94054efcc95835d8cbf46d7af1c44c5d11ee07
treed9b9d250fd499c0ae4e86a22c398f447aacb96ac
parent8b386378892025f034a68b876c68ce53e8d06880
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