lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 Nov 2012 12:21:22 +0100
From:	"Laurent Navet [Mali]" <laurent.navet@...il.com>
To:	devel@...verdev.osuosl.org
Cc:	linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
	"Laurent Navet [Mali]" <laurent.navet@...il.com>
Subject: [PATCH] staging: line6: Fix checkpatch.pl switch - case issue

From: "Laurent Navet [Mali]" <laurent.navet@...il.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@...il.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

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ