]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - lib/i386-io-windows.h
intel_cleanup_io() no longer returns a value
[thirdparty/pciutils.git] / lib / i386-io-windows.h
index ca8b3bb5b901263dfbfcad4b746f9de39f6dc852..772c6f26f791af151e1a50edfcffd5ed59f83596 100644 (file)
@@ -1290,7 +1290,7 @@ intel_setup_io(struct pci_access *a)
   return 1;
 }
 
-static inline int
+static inline void
 intel_cleanup_io(struct pci_access *a UNUSED)
 {
   /*
@@ -1298,7 +1298,6 @@ intel_cleanup_io(struct pci_access *a UNUSED)
    * systems ProcessUserModeIOPL permanently changes IOPL to 3 for the current
    * NT process, no revert for current process is possible.
    */
-  return 1;
 }
 
 static inline void intel_io_lock(void)