Staging: wilc1000: NULL check before some freeing functions is not needed
authorAbdul Hussain <habdul@visteon.com>
Thu, 18 Jun 2015 12:37:00 +0000 (12:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2015 03:20:57 +0000 (20:20 -0700)
commit0256b5406e3a87a776df9dd262a7dace0f49e7b0
treec019edcde87dc94e4ccc4bc7ff5cf41e532bacdb
parent61500fbd77eee4a27c59e3c930f03f5191db9da1
Staging: wilc1000: NULL check before some freeing functions is not needed

This patch removes check before freeing the memory
since kfree(NULL) is safe

Signed-off-by: Abdul Hussain <habdul@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan_spi.c