]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: usbduxfast: remove 'attached' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 20:32:32 +0000 (13:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:24:22 +0000 (16:24 -0700)
commit7c346c2ce866959fc89a14d1379869084f32b3d8
tree667e55273733743c49f43967eb903d7c1de30fd7
parent50a4cf9b2ce532af3f5c7ac33e61f2f5fa7a122a
staging: comedi: usbduxfast: remove 'attached' from private data

The subdevice function pointers are only setup if the device is
attached. The 'attached' flag in the private data is unnecessary.
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/usbduxfast.c