Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jeremy Clifton and committed by
Luiz Augusto von Dentz
461159ec 60bfe8a7

+1 -2
+1 -2
drivers/bluetooth/bfusb.c
··· 365 365 buf += 3; 366 366 } 367 367 368 - if (count < len) { 368 + if (count < len) 369 369 bt_dev_err(data->hdev, "block extends over URB buffer ranges"); 370 - } 371 370 372 371 if ((hdr & 0xe1) == 0xc1) 373 372 bfusb_recv_block(data, hdr, buf, len);