From: deaner92@yahoo.com
Cc: luiz.dentz@gmail.com, marcel@holtmann.org,
linux-bluetooth@vger.kernel.org, markus.elfring@web.de,
patchwork-bot@kernel.org, Jeremy Clifton <deaner92@yahoo.com>
Subject: [PATCH] Bluetooth: Remove unnecessary braces around single line statement
Date: Mon, 27 Jan 2025 23:10:37 +0100 [thread overview]
Message-ID: <20250127221052.197899-2-deaner92@yahoo.com> (raw)
In-Reply-To: 20250127221052.197899-2-deaner92.ref@yahoo.com
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
next parent reply other threads:[~2025-01-27 22:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250127221052.197899-2-deaner92.ref@yahoo.com>
2025-01-27 22:10 ` deaner92 [this message]
2025-01-27 22:31 ` Bluetooth: Remove unnecessary braces around single line statement bluez.test.bot
2025-01-28 19:45 ` Jeremy Dean
2025-01-28 6:30 ` [PATCH] " Jeremy Dean
2025-01-28 20:20 ` Luiz Augusto von Dentz
2025-01-29 20:20 ` patchwork-bot+bluetooth
[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-26 8:02 ` Paul Menzel
2025-01-26 19:27 ` [PATCH] Bluetooth: Remove unnecessary braces around single line statement Jeremy Dean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250127221052.197899-2-deaner92@yahoo.com \
--to=deaner92@yahoo.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=markus.elfring@web.de \
--cc=patchwork-bot@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox