Skip to content

Commit

Permalink
staging: comedi: icp_multi: remove cardtype from boardinfo
Browse files Browse the repository at this point in the history
This variable is not used in the driver. 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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent d68a863 commit 4ba47b8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/comedi/drivers/icp_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ There are 4 x 12-bit Analogue Outputs. Ranges : 5V, 10V, +/-5V, +/-10V

#define PCI_DEVICE_ID_ICP_MULTI 0x8000

/* Hardware types of the cards */
#define TYPE_ICP_MULTI 0

#define IORANGE_ICP_MULTI 32

#define ICP_MULTI_ADC_CSR 0 /* R/W: ADC command/status register */
Expand Down Expand Up @@ -129,7 +126,6 @@ struct boardtype {
int device_id;
int iorange; /* I/O range len */
char have_irq; /* 1=card support IRQ */
char cardtype; /* 0=ICP Multi */
};

struct icp_multi_private {
Expand Down Expand Up @@ -877,7 +873,6 @@ static const struct boardtype boardtypes[] = {
.device_id = PCI_DEVICE_ID_ICP_MULTI,
.iorange = IORANGE_ICP_MULTI,
.have_irq = 1,
.cardtype = TYPE_ICP_MULTI,
},
};

Expand Down

0 comments on commit 4ba47b8

Please sign in to comment.