aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-07 17:44:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-07 21:53:00 -0700
commitcfb2cb167ab57a3237a0b8f0a1dc0b92afe62c87 (patch)
treefb031026d7276cfd9ee56fbea3b78e734670176a /drivers
parent395d6d0f234d164f443f2bfd098091c39d60e6a5 (diff)
staging: comedi: me4000: remove {vendor, device}_id from the private data
These values are never used. Just remove them. 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/me4000.c6
-rw-r--r--drivers/staging/comedi/drivers/me4000.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/comedi/drivers/me4000.c b/drivers/staging/comedi/drivers/me4000.c
index 8394718ad84..9cd24d2a3c2 100644
--- a/drivers/staging/comedi/drivers/me4000.c
+++ b/drivers/staging/comedi/drivers/me4000.c
@@ -336,12 +336,6 @@ static int init_board_info(struct comedi_device *dev, struct pci_dev *pci_dev_p)
/* spin_lock_init(&info->preload_lock); */
/* spin_lock_init(&info->ai_ctrl_lock); */
- /* Get the vendor id */
- info->vendor_id = pci_dev_p->vendor;
-
- /* Get the device id */
- info->device_id = pci_dev_p->device;
-
/* Get the irq assigned to the board */
info->irq = pci_dev_p->irq;
diff --git a/drivers/staging/comedi/drivers/me4000.h b/drivers/staging/comedi/drivers/me4000.h
index afe91b1d053..80bc51e7339 100644
--- a/drivers/staging/comedi/drivers/me4000.h
+++ b/drivers/staging/comedi/drivers/me4000.h
@@ -252,9 +252,6 @@ struct me4000_info {
unsigned long timer_regbase; /* Base address of the timer circuit */
unsigned long program_regbase; /* Base address to set the program pin for the xilinx */
- unsigned short vendor_id; /* Meilhaus vendor id */
- unsigned short device_id; /* Device id */
-
struct pci_dev *pci_dev_p; /* General PCI information */
unsigned int irq; /* IRQ assigned from the PCI BIOS */