diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-11 13:48:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-11 14:03:16 -0700 |
commit | 4ba47b8f88b6893e79e704d37bad7044c376fc4f (patch) | |
tree | 8ec990bedf948904c39984eed5196dd2664c87f6 | |
parent | d68a8635c5b706e3c037d89fd130e62ddce5c823 (diff) |
staging: comedi: icp_multi: remove cardtype from boardinfo
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>
-rw-r--r-- | drivers/staging/comedi/drivers/icp_multi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/comedi/drivers/icp_multi.c b/drivers/staging/comedi/drivers/icp_multi.c index 95262c731d87..e40c8f0c1765 100644 --- a/drivers/staging/comedi/drivers/icp_multi.c +++ b/drivers/staging/comedi/drivers/icp_multi.c @@ -60,9 +60,6 @@ Options: #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 */ @@ -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 { @@ -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, }, }; |