staging: comedi: usbduxfast: remove some unused defines
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 20:30:30 +0000 (13:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:24:21 +0000 (16:24 -0700)
commit8f210c0cc3967452db2b98e94b20ef4ab38e6966
treee8512e68ef4ba5ef2acf34428d67507abfe5a30d
parent2d719c9cdbb08e90a090145c4ceacc1dbd6d869a
staging: comedi: usbduxfast: remove some unused defines

Now that the private data is kzalloc'ed when the device is attached,
the NUMUSBDUXFAST define is not used. Remove it.

The SUBDEV_AD define is only used when setting up the subdevice.
Remove it and just open-code the value.

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