Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c19e9461 authored by Laurent Navet's avatar Laurent Navet Committed by Greg Kroah-Hartman
Browse files

staging: line6: pod.c: fix checkpatch warning



 - WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: default avatarLaurent Navet <laurent.navet@gmail.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8c4e5834
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) |