1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Don't inline ridiculously very large functions.

Compared to the contents of these functions, an extra function call
is nano-peanuts.
This commit is contained in:
Poul-Henning Kamp 2003-07-22 09:22:00 +00:00
parent 51096483bc
commit 2da1191964
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117875

View File

@ -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;