Commit cfb2cb16 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: me4000: remove {vendor, device}_id from the private data

These values are never used. Just remove them.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 395d6d0f
...@@ -336,12 +336,6 @@ static int init_board_info(struct comedi_device *dev, struct pci_dev *pci_dev_p) ...@@ -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->preload_lock); */
/* spin_lock_init(&info->ai_ctrl_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 */ /* Get the irq assigned to the board */
info->irq = pci_dev_p->irq; info->irq = pci_dev_p->irq;
......
...@@ -252,9 +252,6 @@ struct me4000_info { ...@@ -252,9 +252,6 @@ struct me4000_info {
unsigned long timer_regbase; /* Base address of the timer circuit */ 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 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 */ struct pci_dev *pci_dev_p; /* General PCI information */
unsigned int irq; /* IRQ assigned from the PCI BIOS */ unsigned int irq; /* IRQ assigned from the PCI BIOS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment