]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: rtl8723bs: core: rtw_cmd: drop unneeded null test
authorJulia Lawall <julia.lawall@lip6.fr>
Sat, 8 Apr 2017 17:14:08 +0000 (19:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Apr 2017 07:29:29 +0000 (09:29 +0200)
commitf951e88bdc1c1f667d9237a52e2e5d76ae16cf54
tree16e6858490b31eb43fc623fe9a36c2adc5184a7e
parent1c21a34de1ee9144dc7f222d32e7979dff13a8e7
staging: rtl8723bs: core: rtw_cmd: drop unneeded null test

kfree returns immediately on NULL so the tests are not needed.

Generated by: scripts/coccinelle/free/ifnullfree.cocci

CC: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ap.c