commit | 6caf34cb3a92bbd5df6844cb3248c3858797452f | [log] [tgz] |
---|---|---|
author | Brian Norris <briannorris@chromium.org> | Fri Nov 18 19:30:32 2016 +0530 |
committer | Kalle Valo <kvalo@codeaurora.org> | Sat Nov 19 09:18:51 2016 +0200 |
tree | 208e148d65bc3d21e5fc3aaf106359da90266217 | |
parent | 58b7033551cd0137f879c5828f84f54ecb0f9090 [diff] |
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>