]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: vt6656: remove an unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 3 Jan 2014 20:59:41 +0000 (23:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 19:02:13 +0000 (11:02 -0800)
commit3b371fe4d27bcf208f7a211c372e0b8a9253d7c8
tree10ac432a325d1e5da71b3be7e7c28dcd4fa96aee
parent1c5ebaae42793308870cb38fc81f5217ee49e691
staging: vt6656: remove an unneeded NULL check

We dereference "param->u.wpa_key.key" on the next line so the check
here is inconsistent.  This is only called from iwctl_siwencodeext() and
"param->u.wpa_key.key" is a valid pointer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/wpactl.c