staging: comedi: usbduxsigma: remove 'interface' from the private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:01:56 +0000 (13:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:04 +0000 (20:41 +0900)
This back pointer to the usb_interface is not used, remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c

index e705907c758793b5b84c60f5beb89a09d98a1817..ae56bcb5c81a3d95e594e099988cd2bc1a47917a 100644 (file)
@@ -176,8 +176,6 @@ struct usbduxsigma_private {
        int8_t *insnBuffer;
        /* output buffer for single DA outputs */
        int16_t *outBuffer;
-       /* interface structure in 2.6 */
-       struct usb_interface *interface;
        /* is it USB_SPEED_HIGH or not? */
        short int high_speed;
        /* asynchronous command is running */
@@ -1716,7 +1714,6 @@ static int usbduxsigma_auto_attach(struct comedi_device *dev,
        dev->private = devpriv;
 
        sema_init(&devpriv->sem, 1);
-       devpriv->interface = intf;
        usb_set_intfdata(intf, devpriv);
 
        ret = usb_set_interface(usb,