diff options
author | 2004-08-06 01:29:19 +0000 | |
---|---|---|
committer | 2004-08-06 01:29:19 +0000 | |
commit | e5238fd1b5e658d8fae7df62d0147f9acf31dba2 (patch) | |
tree | 2d2ca879b636d2bb9f1ecde88cf940db7f4bcb4f /sys/dev/ic/aic79xx.h | |
parent | kill 3 lines of unused code (diff) | |
download | wireguard-openbsd-e5238fd1b5e658d8fae7df62d0147f9acf31dba2.tar.xz wireguard-openbsd-e5238fd1b5e658d8fae7df62d0147f9acf31dba2.zip |
Remove __static inline to make the kernel ~24k smaller on i386 and make the debug sessions bearable.
ok krw@ deraadt@
Diffstat (limited to 'sys/dev/ic/aic79xx.h')
-rw-r--r-- | sys/dev/ic/aic79xx.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/dev/ic/aic79xx.h b/sys/dev/ic/aic79xx.h index ee3f68f51e3..13e4e79960e 100644 --- a/sys/dev/ic/aic79xx.h +++ b/sys/dev/ic/aic79xx.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx.h,v 1.4 2004/06/23 03:23:19 marco Exp $ */ +/* $OpenBSD: aic79xx.h,v 1.5 2004/08/06 01:29:19 marco Exp $ */ /* * Core definitions and data structures shareable across OS platforms. * @@ -1375,16 +1375,10 @@ extern const int ahd_num_aic7770_devs; /*************************** Function Declarations ****************************/ /******************************************************************************/ -void ahd_reset_cmds_pending(struct ahd_softc *ahd); -u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl); -void ahd_busy_tcl(struct ahd_softc *ahd, - u_int tcl, u_int busyid); -static __inline void ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl); -static __inline void -ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) -{ - ahd_busy_tcl(ahd, tcl, SCB_LIST_NULL); -} +void ahd_reset_cmds_pending(struct ahd_softc *ahd); +u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl); +void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int busyid); +void ahd_unbusy_tcl(struct ahd_softc *, u_int); /***************************** PCI Front End *********************************/ const struct ahd_pci_identity * ahd_find_pci_device(pcireg_t, pcireg_t); |