lkml.org 
[lkml]   [2012]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] staging: line6: Fix checkpatch.pl switch - case issue
Date
From: "Laurent Navet [Mali]" <laurent.navet@gmail.com>

delete old commentted code to avoid this checkpatch error :
line6/pcm.c:423: ERROR: switch and case should be at the same indent

Signed-off-by: Laurent Navet [Mali] <laurent.navet@gmail.com>
---
drivers/staging/line6/pcm.c | 8 --------
1 file changed, 8 deletions(-)

diff --git a/drivers/staging/line6/pcm.c b/drivers/staging/line6/pcm.c
index 6c1e313..a0ce781 100644
--- a/drivers/staging/line6/pcm.c
+++ b/drivers/staging/line6/pcm.c
@@ -455,14 +455,6 @@ int line6_init_pcm(struct usb_line6 *line6,
ep_write = 0x01;
break;

- /* this is for interface_number == 1:
- case LINE6_DEVID_TONEPORT_UX2:
- case LINE6_DEVID_PODSTUDIO_UX2:
- ep_read = 0x87;
- ep_write = 0x00;
- break;
- */
-
default:
MISSING_CASE;
}
--
1.7.10.4


\
 
 \ /
  Last update: 2012-11-29 13:01    [W:0.036 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site