kill unused variable
Noticed by: Coverity Prevent analysis tool
This commit is contained in:
parent
4fbce3b11c
commit
aedaf6e272
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user