[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1361797729-19489-1-git-send-email-laurent.navet@gmail.com>
Date: Mon, 25 Feb 2013 14:08:49 +0100
From: Laurent Navet <laurent.navet@...il.com>
To: gregkh@...uxfoundation.org
Cc: stefanha@...il.com, morbidrsa@...glemail.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Laurent Navet <laurent.navet@...il.com>
Subject: [PATCH] staging: line6: pod.c: fix checkpatch warning
- WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Laurent Navet <laurent.navet@...il.com>
---
drivers/staging/line6/pod.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c
index 74898c3..699b217 100644
--- a/drivers/staging/line6/pod.c
+++ b/drivers/staging/line6/pod.c
@@ -148,9 +148,8 @@ void line6_pod_process_message(struct usb_line6_pod *pod)
buf[0] != (LINE6_SYSEX_BEGIN | LINE6_CHANNEL_UNKNOWN)) {
return;
}
- if (memcmp(buf + 1, line6_midi_id, sizeof(line6_midi_id)) != 0) {
+ if (memcmp(buf + 1, line6_midi_id, sizeof(line6_midi_id)) != 0)
return;
- }
if (buf[5] == POD_SYSEX_SYSTEM && buf[6] == POD_MONITOR_LEVEL) {
short value = ((int)buf[7] << 12) | ((int)buf[8] << 8) |
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists