summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc/dgnc_driver.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-15 21:00:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-17 15:02:56 +0100
commite15f51dc1b876d509f25123fbd09da5141f3bcb1 (patch)
tree4ea0b89ad5fa39d6c8b1be9b2d24d470343517d4 /drivers/staging/dgnc/dgnc_driver.c
parent1971a951794855dccc562fc22fd379c684df657d (diff)
downloadlinux-e15f51dc1b876d509f25123fbd09da5141f3bcb1.tar.bz2
staging: dgnc: remove "vpd" board variable
It was only ever read from the device, and spit out to the kernel log for no good reason. So remove it, and the way it was read from the device, and the now unused "board file" callback. Cc: Lidza Louina <lidza.louina@gmail.com> Cc: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_driver.c')
-rw-r--r--drivers/staging/dgnc/dgnc_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index 32f10bc50d49..5d8c2d995dcc 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -142,9 +142,6 @@ static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id)
if (rc < 0)
goto failed;
- /* Get and store the board VPD, if it exists */
- brd->bd_ops->vpd(brd);
-
/*
* Enable Local Interrupt 1 (0x1),
* Local Interrupt 1 Polarity Active high (0x2),