OSDN Git Service

staging: rtl8723bs: remove unnecessary null check
authorYueHaibing <yuehaibing@huawei.com>
Tue, 15 Oct 2019 11:55:11 +0000 (19:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Oct 2019 16:35:00 +0000 (18:35 +0200)
commitbbecf7de097690af75d9a292a6ac1316092a7389
tree105d47ccef2b081628b14c308e73aaf57ea5e01e
parent88d0facf186c6c652c2203536fecd77089b43a4e
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/20191015115511.26560-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c