]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: remove bogus NULL checks
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Jun 2016 11:17:02 +0000 (14:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:47:00 +0000 (19:47 -0700)
commit10585f50f7ea60fb6e490147a715da1393aa6f41
treec103a9727cda4b479ebb36aa6d219664c225fbf9
parent443b8690a7ffcdc9ed21992989fb33efc510a24e
staging: ks7010: remove bogus NULL checks

enc->rx_seq[] and enc->key[] are arrays, not pointers and they can't be
NULL.  Let's remove these NULL checks.

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