mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
isdn: elsa_ser: Fix set-but-unused variables.
The variable 'bits' is set but unused in change_speed(). Just kill it off. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
94dbe1ae44
commit
db47367451
1 changed files with 1 additions and 2 deletions
|
@ -109,11 +109,10 @@ static void change_speed(struct IsdnCardState *cs, int baud)
|
|||
{
|
||||
int quot = 0, baud_base;
|
||||
unsigned cval, fcr = 0;
|
||||
int bits;
|
||||
|
||||
|
||||
/* byte size and parity */
|
||||
cval = 0x03; bits = 10;
|
||||
cval = 0x03;
|
||||
/* Determine divisor based on baud rate */
|
||||
baud_base = BASE_BAUD;
|
||||
quot = baud_base / baud;
|
||||
|
|
Loading…
Reference in a new issue