]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btintel_pcie: Remove deadcode
authorEverest K.C. <everestkc@everestkc.com.np>
Wed, 16 Oct 2024 21:39:55 +0000 (15:39 -0600)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:32:09 +0000 (15:32 -0500)
commit9b49561f6c35d97f20abc178fece5868dd5e3338
tree65491726a652e28f0704a64994c322bb3f073e0f
parentc6256ec2165fe8b8e8757a32a66837623e51d442
Bluetooth: btintel_pcie: Remove deadcode

The switch case statement has a default branch. Thus, the return
statement at the end of the function can never be reached.
Fix it by removing the return statement at the end of the
function.

This issue was reported by Coverity Scan.

Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel_pcie.c