]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: btintel_pcie: Remove unnecessary check before kfree_skb()
authorChen Ni <nichen@iscas.ac.cn>
Fri, 16 Jan 2026 08:07:03 +0000 (16:07 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 29 Jan 2026 18:33:38 +0000 (13:33 -0500)
commit1583ca8e85a4a96d250d9bc03d4533a326225ae8
tree1c2099c6503c6c5f19a36d21be37aa7d50b0c453
parent312b09bbe9832799ff11c051060f78c9667d604a
Bluetooth: btintel_pcie: Remove unnecessary check before kfree_skb()

The kfree_skb() function internally checks if the skb is NULL,
so an explicit check before calling it is redundant and can be removed.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel_pcie.c