public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: Remove unnecessary braces around single line statement
@ 2025-01-27 22:10 deaner92
  2025-01-27 22:31 ` bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: deaner92 @ 2025-01-27 22:10 UTC (permalink / raw)
  Cc: luiz.dentz, marcel, linux-bluetooth, markus.elfring,
	patchwork-bot, Jeremy Clifton

From: Jeremy Clifton <deaner92@yahoo.com>

Warning found with checkpatch.pl script. Remove unnecessary braces.

Signed-off-by: Jeremy Clifton <deaner92@yahoo.com>
---
 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


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-01-29 20:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250125165804.11486-1-deaner92.ref@yahoo.com>
2025-01-25 16:58 ` [PATCH] Bluetooth: Unnecessary braces around single line statment deaner92
2025-01-25 18:33   ` bluez.test.bot
2025-01-26  8:02   ` [PATCH] " Paul Menzel
2025-01-26 19:27     ` [PATCH] Bluetooth: Remove unnecessary braces around single line statement Jeremy Dean
2025-01-27 16:17       ` Markus Elfring
2025-01-27 21:30         ` Jeremy Dean
2025-01-27 21:38           ` Luiz Augusto von Dentz
2025-01-27 21:52             ` Jeremy Dean
2025-01-27 22:02               ` Luiz Augusto von Dentz
2025-01-28  6:09                 ` Jeremy Dean
2025-01-29 20:20   ` [PATCH] Bluetooth: Unnecessary braces around single line statment patchwork-bot+bluetooth
2025-01-27 22:10 [PATCH] Bluetooth: Remove unnecessary braces around single line statement deaner92
2025-01-27 22:31 ` bluez.test.bot
2025-01-28 19:45   ` Jeremy Dean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox