mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
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>
This commit is contained in:
parent
60bfe8a7dc
commit
461159ece0
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user