* [PATCH] Bluetooth: bt3c_cs: Fix coding style -- clean up
@ 2015-06-18 13:51 Mutharaju, Prasanna (P.)
2015-06-18 14:07 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Mutharaju, Prasanna (P.) @ 2015-06-18 13:51 UTC (permalink / raw)
To: marcel@holtmann.org, gustavo@padovan.org, johan.hedberg@gmail.com
Cc: linux-bluetooth@vger.kernel.org
From: Prasanna Karthik <mkarthi3@visteon.com>
Fix for braces {} are not necessary for single statement blocks
reported by checkpatch
Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
---
drivers/bluetooth/bt3c_cs.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c
index 6de97b3..3c18233 100644
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
@@ -202,9 +202,8 @@ static void bt3c_write_wakeup(struct bt3c_info *info)
/* Send frame */
len =3D bt3c_write(iobase, 256, skb->data, skb->len);
=20
- if (len !=3D skb->len) {
+ if (len !=3D skb->len)
BT_ERR("Very strange");
- }
=20
kfree_skb(skb);
=20
--=20
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: bt3c_cs: Fix coding style -- clean up
2015-06-18 13:51 [PATCH] Bluetooth: bt3c_cs: Fix coding style -- clean up Mutharaju, Prasanna (P.)
@ 2015-06-18 14:07 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2015-06-18 14:07 UTC (permalink / raw)
To: Mutharaju, Prasanna (P.)
Cc: Gustavo F. Padovan, Johan Hedberg,
linux-bluetooth@vger.kernel.org
Hi Prasanna,
> Fix for braces {} are not necessary for single statement blocks
> reported by checkpatch
>
> Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
> ---
> drivers/bluetooth/bt3c_cs.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-18 14:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 13:51 [PATCH] Bluetooth: bt3c_cs: Fix coding style -- clean up Mutharaju, Prasanna (P.)
2015-06-18 14:07 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.