]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btintel_pcie: remove redundant assignment to variable ret
authorColin Ian King <colin.i.king@gmail.com>
Mon, 7 Oct 2024 16:10:35 +0000 (17:10 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:33:07 +0000 (15:33 -0500)
commit4900e041c3f05dac47c6bce0844203a0703baaa2
treed155448ba977cf87371f375621f195869fc9bbfe
parent5fe6caa62b07fd39cd6a28acc8f92ba2955e11a6
Bluetooth: btintel_pcie: remove redundant assignment to variable ret

The variable ret is being assigned -ENOMEM however this is never
read and it is being re-assigned a new value when the code jumps
to label resubmit. The assignment is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel_pcie.c