[PATCH 72/77] staging: comedi: usbduxsigma: remove some unused defines

H Hartley Sweeten hsweeten at visionengravers.com
Thu May 23 20:08:14 UTC 2013


These defines are not used in the driver. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
Cc: Ian Abbott <abbotti at mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
 drivers/staging/comedi/drivers/usbduxsigma.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c
index 8011191..34a6369 100644
--- a/drivers/staging/comedi/drivers/usbduxsigma.c
+++ b/drivers/staging/comedi/drivers/usbduxsigma.c
@@ -64,16 +64,6 @@ Status: testing
 /* internal addresses of the 8051 processor */
 #define USBDUXSUB_CPUCS 0xE600
 
-/*
- * the minor device number, major is 180 only for debugging purposes and to
- * upload special firmware (programming the eeprom etc) which is not
- * compatible with the comedi framwork
- */
-#define USBDUXSUB_MINOR 32
-
-/* max lenghth of the transfer-buffer for software upload */
-#define TB_LEN 0x2000
-
 /* USB endpoints */
 #define USBDUXSIGMA_CMD_OUT_EP		1	/* command output */
 #define USBDUXSIGMA_ISO_OUT_EP		2	/* analog output ISO/IRQ */
-- 
1.8.1.4




More information about the devel mailing list