Skip to content

Commit

Permalink
staging: comedi: usbdux: remove some unused defines
Browse files Browse the repository at this point in the history
These defines are not used by the driver. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 26, 2013
1 parent a3ef101 commit 887463b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/staging/comedi/drivers/usbdux.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,6 @@ sampling rate. If you sample two channels you get 4kHz and so on.
/* 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

/* 300Hz max frequ under PWM */
#define MIN_PWM_PERIOD ((long)(1E9/300))

Expand Down

0 comments on commit 887463b

Please sign in to comment.