kill unused variable

Noticed by:	Coverity Prevent analysis tool
This commit is contained in:
Sam Leffler 2005-02-25 23:15:48 +00:00
parent 4fbce3b11c
commit aedaf6e272

View File

@ -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);