projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2ae1d
)
USB: serial: iuu_phoenix: drop unused driver-data baud rate
author
Johan Hovold
<johan@kernel.org>
Mon, 16 Jul 2018 11:51:55 +0000
(13:51 +0200)
committer
Johan Hovold
<johan@kernel.org>
Mon, 16 Jul 2018 12:11:27 +0000
(14:11 +0200)
Drop unused driver-data baud rate.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/iuu_phoenix.c
b/drivers/usb/serial/iuu_phoenix.c
index
2fb7130
..
87c8dd0
100644
(file)
--- a/
drivers/usb/serial/iuu_phoenix.c
+++ b/
drivers/usb/serial/iuu_phoenix.c
@@
-58,7
+58,6
@@
struct iuu_private {
u8 *buf; /* used for initialize speed */
u8 len;
int vcc; /* vcc (either 3 or 5 V) */
- u32 baud;
u32 boost;
u32 clk;
};
@@
-991,7
+990,6
@@
static int iuu_open(struct tty_struct *tty, struct usb_serial_port *port)
if (boost < 100)
boost = 100;
priv->boost = boost;
- priv->baud = baud;
switch (clockmode) {
case 2: /* 3.680 Mhz */
priv->clk = IUU_CLK_3680000;