summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@daemonic.se>2019-06-16 10:42:08 +0200
committerNiclas Zeising <zeising@daemonic.se>2019-07-10 18:55:15 +0200
commitbaa4084474665e34a8d6a9bba0e97d9aa5dcd88a (patch)
tree890d29c46df1e3f49eda572f531b133a0f44e6fd /src
parent976e661ee193941f9928353db365f14654a934db (diff)
freebsd_pci: Remove unused variable
Remove unused variable, it's written to, but never used. Signed-off-by: Niclas Zeising <zeising@daemonic.se>
Diffstat (limited to 'src')
-rw-r--r--src/freebsd_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/freebsd_pci.c b/src/freebsd_pci.c
index ab7a8df..d140474 100644
--- a/src/freebsd_pci.c
+++ b/src/freebsd_pci.c
@@ -367,7 +367,6 @@ pci_device_freebsd_get_num_regions( struct pci_device * dev )
static int
pci_device_freebsd_probe( struct pci_device * dev )
{
- struct pci_device_private *priv = (struct pci_device_private *) dev;
struct pci_bar_io bar;
uint8_t irq;
int err, i;