From: H Hartley Sweeten Date: Tue, 14 May 2013 20:31:17 +0000 (-0700) Subject: staging: comedi: usbduxfast: remove 'probed' from private data X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~660 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50a4cf9b2ce532af3f5c7ac33e61f2f5fa7a122a;p=pandora-kernel.git staging: comedi: usbduxfast: remove 'probed' from private data The 'probed' flag in the private data was used to handle the disconnect between the usb (*probe) and the comedi_driver (*auto_attach) so that if the comedi_driver was attached without an associated usb_device the subdevice functions would return -ENODEV. Now that the usb_driver (*probe) is part of the comedi_driver (*auto_attach), the comedi_driver can only attach if the usb device is present. Remove the unnecessary variable from the private data and its uses in the driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed