Bluetooth: Remove unnecessary NULL check before vfree()
authorZiyang Xuan <william.xuanziyang@huawei.com>
Mon, 7 Aug 2023 02:32:06 +0000 (10:32 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:56:54 +0000 (11:56 -0700)
commit3cd43dd15f9dbfb67a60889992bf03b92370b202
treeff27a992ae228a5b82d5d608ad5c2a48a170c59f
parenta2bcd2b63271a93a695fabbfbf459c603d956d48
Bluetooth: Remove unnecessary NULL check before vfree()

Remove unnecessary NULL check which causes coccinelle warning:

net/bluetooth/coredump.c:104:2-7: WARNING: NULL check before some
freeing functions is not needed.

Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/coredump.c