From aedaf6e272f41cb4bc180bc8b70a5715f44182cc Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 25 Feb 2005 23:15:48 +0000 Subject: kill unused variable Noticed by: Coverity Prevent analysis tool --- sys/dev/pci/pci.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index c7c070e03948..dd27765ec1c7 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1795,9 +1795,7 @@ int pci_child_location_str_method(device_t dev, device_t child, char *buf, size_t buflen) { - struct pci_devinfo *dinfo; - dinfo = device_get_ivars(child); snprintf(buf, buflen, "slot=%d function=%d", pci_get_slot(child), pci_get_function(child)); return (0); -- cgit v1.3