Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92ba10e1 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: usbduxsigma: remove 'interface' from the private data



This back pointer to the usb_interface is not used, remove it.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 38f4e421
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -176,8 +176,6 @@ struct usbduxsigma_private {
	int8_t *insnBuffer;
	int8_t *insnBuffer;
	/* output buffer for single DA outputs */
	/* output buffer for single DA outputs */
	int16_t *outBuffer;
	int16_t *outBuffer;
	/* interface structure in 2.6 */
	struct usb_interface *interface;
	/* is it USB_SPEED_HIGH or not? */
	/* is it USB_SPEED_HIGH or not? */
	short int high_speed;
	short int high_speed;
	/* asynchronous command is running */
	/* asynchronous command is running */
@@ -1716,7 +1714,6 @@ static int usbduxsigma_auto_attach(struct comedi_device *dev,
	dev->private = devpriv;
	dev->private = devpriv;


	sema_init(&devpriv->sem, 1);
	sema_init(&devpriv->sem, 1);
	devpriv->interface = intf;
	usb_set_intfdata(intf, devpriv);
	usb_set_intfdata(intf, devpriv);


	ret = usb_set_interface(usb,
	ret = usb_set_interface(usb,