From df31d6716d16dc5c1f1962b5087829a5d1272253 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 15 Jan 2018 21:00:05 +0100 Subject: staging: dgnc: delete a bunch of PCI board variables None of these were being used at all, only set and never used again, so remove them from the code. Cc: Lidza Louina Cc: Mark Hounschell Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dgnc/dgnc_driver.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'drivers/staging/dgnc/dgnc_driver.h') diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index c269497dca4d..043bbe20bf82 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -93,15 +93,8 @@ struct board_ops { * * @name: Product name. * @pdev: Pointer to the pci_dev structure. - * @vendor: PCI vendor ID. * @device: PCI device ID. - * @subvendor: PCI subsystem vendor ID. - * @subdevice: PCI subsystem device ID. - * @rev: PCI revision ID. - * @pci_bus: PCI bus value. - * @pci_slot: PCI slot value. * @maxports: Maximum ports this board can handle. - * @dvid: Board specific device ID. * @vpd: VPD of this board, if found. * @serial_num: Serial number of this board, if found in VPD. * @bd_lock: Used to protect board. @@ -128,15 +121,8 @@ struct dgnc_board { int boardnum; char *name; struct pci_dev *pdev; - u16 vendor; u16 device; - u16 subvendor; - u16 subdevice; - unsigned char rev; - uint pci_bus; - uint pci_slot; uint maxports; - unsigned char dvid; unsigned char vpd[128]; unsigned char serial_num[20]; -- cgit v1.2.3-59-g8ed1b