diff options
author | Michał Sroczyński <msroczyn@gmail.com> | 2011-08-25 13:52:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-26 14:27:50 -0400 |
commit | 55a46269ccedec140e2487a2344e8a247d48b385 (patch) | |
tree | 400f9d7f2a3d0a319c145520b095476d7e222293 /drivers/usb/serial | |
parent | 065e60964e293227e4feb0c1f7e27e609316ed9a (diff) |
USB: pl2303: remove unreachable code
Signed-off-by: Michal Sroczynski <msroczyn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 1d33260de014..0ae840f789a4 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -360,9 +360,6 @@ static void pl2303_set_termios(struct tty_struct *tty, | |||
360 | tmp >>= 2; | 360 | tmp >>= 2; |
361 | buf[1] <<= 1; | 361 | buf[1] <<= 1; |
362 | } | 362 | } |
363 | if (tmp > 256) { | ||
364 | tmp %= 256; | ||
365 | } | ||
366 | buf[0] = tmp; | 363 | buf[0] = tmp; |
367 | } | 364 | } |
368 | } | 365 | } |