From 48792cfc182a3d5fce70e43b7c318bad3e7185b9 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 1 Jul 1997 00:45:45 +0000 Subject: Don't cast function pointers to (void *). This will cause warnings. They should be fixed when similar warnings for the general interrupt attach routines are fixed. Removed unused #include. --- sys/pci/if_vx_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/pci') diff --git a/sys/pci/if_vx_pci.c b/sys/pci/if_vx_pci.c index 5be83dc97685..b667b89bb4d9 100644 --- a/sys/pci/if_vx_pci.c +++ b/sys/pci/if_vx_pci.c @@ -51,8 +51,6 @@ #include #endif -#include - #include #include @@ -128,7 +126,7 @@ vx_pci_attach( */ at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC); - pci_map_int(config_id, (void *) vxintr, (void *) sc, &net_imask); + pci_map_int(config_id, vxintr, (void *) sc, &net_imask); } static struct pci_device vxdevice = { -- cgit v1.3