]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: dt9812: remove unused variables from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:30:59 +0000 (14:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:26:01 +0000 (16:26 -0700)
commit421b42ab17bdcabedd7549e5887e4c78d64f6c2f
tree883ad08dc410fd7aa39414d6ac8ced79dd0403a7
parentb78750c1234d2abafb12c61a9e96c7860f47a6e7
staging: comedi: dt9812: remove unused variables from private data

The vendor, product, and serial numbers read from the usb device
are only used for a dev_info() message about the device after it
is reset. Reading these values might not be required for the usb
device to function.

For now just remove the variables from the private data and just
use local variables.

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/dt9812.c