From: David S. Miller Date: Sun, 17 Apr 2011 23:38:33 +0000 (-0700) Subject: isdn: elsa_ser: Fix set-but-unused variables. X-Git-Tag: MMI-PSA29.97-13-9~18929^2~522 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db47367451cbee4e8a3fd9389cc341f4acc43b1e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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) { 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;