]> mj.ucw.cz Git - pciutils.git/commitdiff
i386-ports: Do not mark pci_access in conf12_cleanup() as unused
authorPali Rohár <pali@kernel.org>
Sat, 1 Jan 2022 13:42:12 +0000 (14:42 +0100)
committerMartin Mareš <mj@ucw.cz>
Sat, 1 Jan 2022 21:49:00 +0000 (22:49 +0100)
It is used as argument for intel_cleanup_io() function.

lib/i386-ports.c

index 292a74975a61eaa4015a9c2cf53fd3bef05f8e38..768e545305fbfd255d8fa42b161f8ab9ba847e0a 100644 (file)
@@ -51,7 +51,7 @@ conf12_init(struct pci_access *a)
 }
 
 static void
-conf12_cleanup(struct pci_access *a UNUSED)
+conf12_cleanup(struct pci_access *a)
 {
   if (conf12_io_enabled > 0)
     {