diff options
author | phk <phk@FreeBSD.org> | 2003-07-22 09:22:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-07-22 09:22:00 +0000 |
commit | 3a7820a1f7772de615df20665b650720e3bfe8e5 (patch) | |
tree | 26e6b21751b9a548ecf0510607a9328c3c71228b /sys/dev/lnc | |
parent | bb7a1b776e52c9acd05cfbeac4dcd8bda8c5f808 (diff) | |
download | FreeBSD-src-3a7820a1f7772de615df20665b650720e3bfe8e5.zip FreeBSD-src-3a7820a1f7772de615df20665b650720e3bfe8e5.tar.gz |
Don't inline ridiculously very large functions.
Compared to the contents of these functions, an extra function call
is nano-peanuts.
Diffstat (limited to 'sys/dev/lnc')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index eeb678a..15923c6 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -126,8 +126,8 @@ static __inline struct mbuf *chain_mbufs(struct lnc_softc *sc, static __inline struct mbuf *mbuf_packet(struct lnc_softc *sc, int start_of_packet, int pkt_len); -static __inline void lnc_rint(struct lnc_softc *sc); -static __inline void lnc_tint(struct lnc_softc *sc); +static void lnc_rint(struct lnc_softc *sc); +static void lnc_tint(struct lnc_softc *sc); static void lnc_init(void *); static __inline int mbuf_to_buffer(struct mbuf *m, char *buffer); @@ -443,7 +443,7 @@ mbuf_packet(struct lnc_softc *sc, int start_of_packet, int pkt_len) } -static __inline void +static void lnc_rint(struct lnc_softc *sc) { struct ifnet *ifp = &sc->arpcom.ac_if; @@ -623,7 +623,7 @@ lnc_rint(struct lnc_softc *sc) lnc_outw(sc->rdp, RINT | INEA); } -static __inline void +static void lnc_tint(struct lnc_softc *sc) { struct host_ring_entry *next, *start; |