staging: wilc1000: NULL dereference on error
commit23436825e671cdd55c45d151ddc66fd3c47d10e9
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 16 Jul 2016 10:07:55 +0000 (16 13:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:28:21 +0000 (21 17:28 +0200)
treed040fad45214119c1232abc2a7d533c619b9658e
parent23535c1322e42e71f32bfbeae9970f4dba31e3bd
staging: wilc1000: NULL dereference on error

We can't pass NULL pointers to destroy_workqueue().

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