From: Michał Sroczyński <msroczyn@gmail.com>
Date: Thu, 25 Aug 2011 17:52:27 +0000 (+0200)
Subject: USB: pl2303: remove unreachable code
X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=55a46269ccedec140e2487a2344e8a247d48b385;p=openwrt%2Fstaging%2Fblogic.git

USB: pl2303: remove unreachable code

Signed-off-by: Michal Sroczynski <msroczyn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

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,
 				tmp >>= 2;
 				buf[1] <<= 1;
 			}
-			if (tmp > 256) {
-				tmp %= 256;
-			}
 			buf[0] = tmp;
 		}
 	}