]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mwifiex: sdio: don't check for NULL sdio_func
authorBrian Norris <briannorris@chromium.org>
Fri, 18 Nov 2016 14:00:32 +0000 (19:30 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 19 Nov 2016 07:18:51 +0000 (09:18 +0200)
commit6caf34cb3a92bbd5df6844cb3248c3858797452f
tree208e148d65bc3d21e5fc3aaf106359da90266217
parent58b7033551cd0137f879c5828f84f54ecb0f9090
mwifiex: sdio: don't check for NULL sdio_func

sdio_func is retrieved via container_of() and should never be NULL.
Checking for NULL just makes the logic more confusing than necessary.
Stop doing that.

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/sdio.c