diff options
| author | David S. Miller <davem@davemloft.net> | 2011-04-17 19:38:33 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-04-17 19:38:33 -0400 |
| commit | db47367451cbee4e8a3fd9389cc341f4acc43b1e (patch) | |
| tree | 541f07048798e1f2fc90a29ec3f26496409e7fd6 | |
| parent | 94dbe1ae44df1d22a391980eb6bd502f937b1af8 (diff) | |
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>
| -rw-r--r-- | drivers/isdn/hisax/elsa_ser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/elsa_ser.c b/drivers/isdn/hisax/elsa_ser.c index cbda3790a10d..3fa9f6171095 100644 --- a/drivers/isdn/hisax/elsa_ser.c +++ b/drivers/isdn/hisax/elsa_ser.c | |||
| @@ -109,11 +109,10 @@ static void change_speed(struct IsdnCardState *cs, int baud) | |||
| 109 | { | 109 | { |
| 110 | int quot = 0, baud_base; | 110 | int quot = 0, baud_base; |
| 111 | unsigned cval, fcr = 0; | 111 | unsigned cval, fcr = 0; |
| 112 | int bits; | ||
| 113 | 112 | ||
| 114 | 113 | ||
| 115 | /* byte size and parity */ | 114 | /* byte size and parity */ |
| 116 | cval = 0x03; bits = 10; | 115 | cval = 0x03; |
| 117 | /* Determine divisor based on baud rate */ | 116 | /* Determine divisor based on baud rate */ |
| 118 | baud_base = BASE_BAUD; | 117 | baud_base = BASE_BAUD; |
| 119 | quot = baud_base / baud; | 118 | quot = baud_base / baud; |
