summaryrefslogtreecommitdiff
path: root/src/common_init.c
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2023-03-24 11:33:16 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-03-25 16:55:42 +0000
commite6a9c2dc9d22a6f5460fcad2863a6a6056e23a8e (patch)
tree6fe82aae99a2cbce152408e7bf599579fda3c020 /src/common_init.c
parent7f7d12445c3c30d93445b38c88633ced7cef73e8 (diff)
downloadlibpciaccess-e6a9c2dc9d22a6f5460fcad2863a6a6056e23a8e.tar.gz
FreeBSD: Remove sparc64 code
FreeBSD stopped supporting sparc64 a while ago, no need to keep the code. Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
Diffstat (limited to 'src/common_init.c')
-rw-r--r--src/common_init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common_init.c b/src/common_init.c
index 1940cff..1004038 100644
--- a/src/common_init.c
+++ b/src/common_init.c
@@ -79,9 +79,7 @@ pci_system_init( void )
void
pci_system_init_dev_mem(int fd)
{
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
- pci_system_freebsd_init_dev_mem(fd);
-#elif defined(__OpenBSD__)
+#if defined(__OpenBSD__)
pci_system_openbsd_init_dev_mem(fd);
#endif
}