summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-07-16 10:40:17 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 20:05:43 +0400
commit2b770b4b29c741bbcbb77d2618955897765a81bf (patch)
treed1397c954be25737cc31071f54db68a198680605 /drivers/char
parentf17e121fd055ba60d57a992702e59ae495faba76 (diff)
downloadlinux-2b770b4b29c741bbcbb77d2618955897765a81bf.tar.xz
Char: mxser_new, fix sparse warning
Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/mxser_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index 6cde448cd5b2..71b965705177 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -1560,7 +1560,7 @@ static int mxser_ioctl_special(unsigned int cmd, void __user *argp)
return -EFAULT;
return 0;
case MOXA_ASPP_MON_EXT: {
- int status, p, shiftbit;
+ int p, shiftbit;
unsigned long opmode;
unsigned cflag, iflag;