projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065e609
)
USB: pl2303: remove unreachable code
author
Michał Sroczyński
<msroczyn@gmail.com>
Thu, 25 Aug 2011 17:52:27 +0000
(19:52 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/pl2303.c
b/drivers/usb/serial/pl2303.c
index
1d33260
..
0ae840f
100644
(file)
--- 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;
}
}