[PATCH] Bluetooth: Unnecessary braces around single line statment.
From: deaner92
Date: Sat Jan 25 2025 - 12:39:00 EST
From: Jeremy Clifton <deaner92@xxxxxxxxx>
Warning found with checkpatch.pl script. Removed unnecessary braces.
Signed-off-by: Jeremy Clifton <deaner92@xxxxxxxxx>
---
drivers/bluetooth/bfusb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index cab93935cc7f..0d6ad50da046 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -365,9 +365,8 @@ static void bfusb_rx_complete(struct urb *urb)
buf += 3;
}
- if (count < len) {
+ if (count < len)
bt_dev_err(data->hdev, "block extends over URB buffer ranges");
- }
if ((hdr & 0xe1) == 0xc1)
bfusb_recv_block(data, hdr, buf, len);
--
2.43.0