]> err.no Git - linux-2.6/commitdiff
Char: mxser_new, fix sparse warning
authorJiri Slaby <jirislaby@gmail.com>
Mon, 16 Jul 2007 06:40:17 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:43 +0000 (09:05 -0700)
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>
drivers/char/mxser_new.c

index 6cde448cd5b2177479e46ccd634e1a8335fb720a..71b965705177f4a9bb3a722bb8819d531c1904c8 100644 (file)
@@ -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;