summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDan Carpenter2011-11-08 04:31:45 +0100
committerJohn W. Linville2011-11-09 22:14:12 +0100
commitfa161cb7aa7da29018f7378ccbab6bb593be008c (patch)
tree158bff5e6397ace8b83259dc433a00f631371f8d /crypto
parentmwifiex: remove unneeded kfree(NULL); (diff)
downloadkernel-qcow2-linux-fa161cb7aa7da29018f7378ccbab6bb593be008c.tar.gz
kernel-qcow2-linux-fa161cb7aa7da29018f7378ccbab6bb593be008c.tar.xz
kernel-qcow2-linux-fa161cb7aa7da29018f7378ccbab6bb593be008c.zip
mwifiex: remove an unneeded NULL check
We dereference adapter in the error handling code so this needed to be fixed. This function is always called like: adapter->if_ops.host_to_card(adapter, ...); so adapter can never be NULL and I've removed the NULL check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions