summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Clifton <deaner92@yahoo.com>2025-01-29 13:33:30 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-03-25 12:31:27 -0400
commit461159ece0586b6892d7ba4febae096aa2632ce4 (patch)
treeca1e353499f64ac8fbaed0d950b86d73fe8fdc37
parent60bfe8a7dc424728fb1d83f43ae21384952ba353 (diff)
Bluetooth: Fix code style warning
Output of checkpatch shows warning: drivers/bluetooth/bfusb.c:368: WARNING: braces {} are not necessary for single statement blocks Remove braces for single line statement. Signed-off-by: Jeremy Clifton <deaner92@yahoo.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-rw-r--r--drivers/bluetooth/bfusb.c3
1 files changed, 1 insertions, 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);