staging: rtl8723bs: Remove unnecessary null check
authorYueHaibing <yuehaibing@huawei.com>
Thu, 10 Oct 2019 15:33:25 +0000 (23:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2019 09:05:59 +0000 (11:05 +0200)
commit0fa79a78b1d7e671f889b41a981c229075cbfb36
tree3d9e52c64a894f0d03a88c1f7f5b543df9023cda
parent2e821be2206ca03168e35dd9fd1f77fbb9faf0f1
staging: rtl8723bs: Remove unnecessary null check

Null check before kfree is redundant, so remove it.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20191010153325.16836-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/os_intfs.c