diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-23 12:35:51 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-30 11:33:42 +0300 |
commit | 2d7defb07bbee286537457e5eab534bac01d126a (patch) | |
tree | 011b5f6d126b97e7155b0547e71907cfd01e4cff /COPYING | |
parent | 2f5872b60146eadf74b8d349a3596f5aaf687401 (diff) | |
download | linux-2d7defb07bbee286537457e5eab534bac01d126a.tar.bz2 |
mwifiex: remove an unneede NULL check in mwifiex_init_adapter()
"adapter->sleep_cfm" is always non-NULL at this point. Static checkers
complain that we already dereference it at the start of the function
when we do:
skb_put(adapter->sleep_cfm, sizeof(struct mwifiex_opt_sleep_confirm));
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions