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)
commit453e102db531ac1ffa55f3e03c4907c063125859
treec103a9727cda4b479ebb36aa6d219664c225fbf9
parent516a4f04a39712cdb0d3cee263158853603376aa
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