]> err.no Git - linux-2.6/commitdiff
[PATCH] USB: fix ftdi_sio compiler warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 29 Jun 2005 23:53:29 +0000 (16:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Jul 2005 18:52:55 +0000 (11:52 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c

index aad2f4d0e09c7aeca77fb3162664182fe4a2dbb4..0b03ddab53d9e9e325dfaaed918630f7e9b194e9 100644 (file)
@@ -1978,8 +1978,6 @@ static int ftdi_ioctl (struct usb_serial_port *port, struct file * file, unsigne
 {
        struct ftdi_private *priv = usb_get_serial_port_data(port);
 
-       int  ret, mask;
-       
        dbg("%s cmd 0x%04x", __FUNCTION__, cmd);
 
        /* Based on code from acm.c and others */