summaryrefslogtreecommitdiff
path: root/src/common_device_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common_device_name.c')
-rw-r--r--src/common_device_name.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common_device_name.c b/src/common_device_name.c
index 4ca8cd1..912fc51 100644
--- a/src/common_device_name.c
+++ b/src/common_device_name.c
@@ -80,7 +80,6 @@ typedef FILE * pci_id_file;
static pci_id_file
pci_id_file_open(void)
{
-#ifndef __sun
pci_id_file result;
result = fopen(PCIIDS_PATH "/pci.ids", "re");
@@ -89,7 +88,6 @@ pci_id_file_open(void)
#ifdef __FreeBSD__
return fopen("/usr/share/misc/pci_vendors", "re");
#endif
-#endif
return fopen(PCIIDS_PATH "/pci.ids", "r");
}