USB: pl2303: remove unreachable code
authorMichał Sroczyński <msroczyn@gmail.com>
Thu, 25 Aug 2011 17:52:27 +0000 (19:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 18:27:50 +0000 (11:27 -0700)
Signed-off-by: Michal Sroczynski <msroczyn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c

index 1d33260..0ae840f 100644 (file)
@@ -360,9 +360,6 @@ static void pl2303_set_termios(struct tty_struct *tty,
                                tmp >>= 2;
                                buf[1] <<= 1;
                        }
-                       if (tmp > 256) {
-                               tmp %= 256;
-                       }
                        buf[0] = tmp;
                }
        }