ChangeSet 1.2181.4.77, 2005/03/28 12:32:43-08:00, [EMAIL PROTECTED]

        [PATCH] drivers/usb/class/usb-midi.c: remove dead code
        
        This patch removes some obviously dead code found by the Coverity
        checker.
        
        Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



 usb-midi.c |    2 --
 1 files changed, 2 deletions(-)


diff -Nru a/drivers/usb/class/usb-midi.c b/drivers/usb/class/usb-midi.c
--- a/drivers/usb/class/usb-midi.c      2005-03-30 15:20:30 -08:00
+++ b/drivers/usb/class/usb-midi.c      2005-03-30 15:20:30 -08:00
@@ -1451,8 +1451,6 @@
                        } else {
                                if ( oep < 15 ) {
                                        pins = oep+1;
-                                       if ( pins > 16 )
-                                               pins = 16;
                                        u->out[oep].endpoint = p1[2];
                                        u->out[oep].cableId = ( 1 << pins ) - 1;
                                        if ( u->out[oep].cableId )
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to