projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/usb/serial/pl2303.c
b/drivers/usb/serial/pl2303.c
index 1d33260de014f0ee3c39546567a2e61b867b7ebf..0ae840f789a45be017639dc9c539a015286d5e6c 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;
}
}