summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-01 00:45:45 +0000
committerbde <bde@FreeBSD.org>1997-07-01 00:45:45 +0000
commit8dcf4da6425f47bc89ecf48cbfb3890e31f25a97 (patch)
treea6794dd316c3256c120c250d70c790117624259c /sys/i386/eisa
parent690047b9cbc0582b44ac9ffa57854cdf0d574baa (diff)
downloadFreeBSD-src-8dcf4da6425f47bc89ecf48cbfb3890e31f25a97.zip
FreeBSD-src-8dcf4da6425f47bc89ecf48cbfb3890e31f25a97.tar.gz
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.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r--sys/i386/eisa/if_vx_eisa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/i386/eisa/if_vx_eisa.c b/sys/i386/eisa/if_vx_eisa.c
index 264c17c..f185164 100644
--- a/sys/i386/eisa/if_vx_eisa.c
+++ b/sys/i386/eisa/if_vx_eisa.c
@@ -51,8 +51,6 @@
#include <netns/ns_if.h>
#endif
-#include <machine/clock.h>
-
#include <i386/eisa/eisaconf.h>
#include <dev/vx/if_vxreg.h>
@@ -165,7 +163,7 @@ vx_eisa_attach(e_dev)
level_intr = FALSE;
- if (eisa_reg_intr(e_dev, irq, (void *) vxintr, (void *) sc, &net_imask,
+ if (eisa_reg_intr(e_dev, irq, vxintr, (void *) sc, &net_imask,
/* shared == */ level_intr)) {
vxfree(sc);
return -1;
@@ -178,7 +176,7 @@ vx_eisa_attach(e_dev)
if (eisa_enable_intr(e_dev, irq)) {
vxfree(sc);
- eisa_release_intr(e_dev, irq, (void *) vxintr);
+ eisa_release_intr(e_dev, irq, vxintr);
return -1;
}
return 0;
OpenPOWER on IntegriCloud