diff --git a/tests/virpcimock.c b/tests/virpcimock.c index 09a6c648af56152f9239ce725c6b18b47950ca32..ca6cc060fd58ef2463bbf26f0cb8625772741c60 100644 --- a/tests/virpcimock.c +++ b/tests/virpcimock.c @@ -682,7 +682,6 @@ pci_driver_find_by_path(const char *path) static struct pciDriver * pci_driver_find_by_driver_override(struct pciDevice *dev) { - VIR_AUTOFREE(char *) devid = NULL; VIR_AUTOFREE(char *) path = NULL; char tmp[32]; size_t i;