Skip to content

Commit 3c83800

Browse files
dolciniVudentz
authored andcommitted
Bluetooth: btnxpuart: remove useless assignment
Remove useless assignment of rx_skb to NULL in case the skb is in error, this is already done in h4_recv_buf() that is executed a few lines before. Signed-off-by: Francesco Dolcini <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 64057f0 commit 3c83800

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/bluetooth/btnxpuart.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,6 @@ static int btnxpuart_receive_buf(struct serdev_device *serdev, const u8 *data,
12781278
/* Safe to ignore out-of-sync bootloader signatures */
12791279
if (!is_fw_downloading(nxpdev))
12801280
bt_dev_err(nxpdev->hdev, "Frame reassembly failed (%d)", err);
1281-
nxpdev->rx_skb = NULL;
12821281
return count;
12831282
}
12841283
if (!is_fw_downloading(nxpdev))

0 commit comments

Comments
 (0)