]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb6fd0dd1d13800323bae91c174b2e0ca7444656
tree3d9e52c64a894f0d03a88c1f7f5b543df9023cda
parenta76faf894e5ee14bf9b21cfc691a91368e36f22a
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