USB: serial: iuu_phoenix: drop unused driver-data baud rate
Drop unused driver-data baud rate. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
1e2ae1d7e4
commit
b8f6515445
|
@ -58,7 +58,6 @@ struct iuu_private {
|
||||||
u8 *buf; /* used for initialize speed */
|
u8 *buf; /* used for initialize speed */
|
||||||
u8 len;
|
u8 len;
|
||||||
int vcc; /* vcc (either 3 or 5 V) */
|
int vcc; /* vcc (either 3 or 5 V) */
|
||||||
u32 baud;
|
|
||||||
u32 boost;
|
u32 boost;
|
||||||
u32 clk;
|
u32 clk;
|
||||||
};
|
};
|
||||||
|
@ -991,7 +990,6 @@ static int iuu_open(struct tty_struct *tty, struct usb_serial_port *port)
|
||||||
if (boost < 100)
|
if (boost < 100)
|
||||||
boost = 100;
|
boost = 100;
|
||||||
priv->boost = boost;
|
priv->boost = boost;
|
||||||
priv->baud = baud;
|
|
||||||
switch (clockmode) {
|
switch (clockmode) {
|
||||||
case 2: /* 3.680 Mhz */
|
case 2: /* 3.680 Mhz */
|
||||||
priv->clk = IUU_CLK_3680000;
|
priv->clk = IUU_CLK_3680000;
|
||||||
|
|
Loading…
Reference in New Issue