Date: Sat, 28 Dec 2013 01:33:43 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r259985 - in stable: 10/sys/dev/mwl 9/sys/dev/mwl Message-ID: <201312280133.rBS1Xh73024592@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Dec 28 01:33:42 2013 New Revision: 259985 URL: http://svnweb.freebsd.org/changeset/base/259985 Log: MFC r259869: In sys/dev/mwl/if_mwl.c, put the static RD4() function under #ifdef MWL_DEBUG guards, since it only used in DPRINTF statements. Modified: stable/10/sys/dev/mwl/if_mwl.c Directory Properties: stable/10/ (props changed) Changes in other areas also in this revision: Modified: stable/9/sys/dev/mwl/if_mwl.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/10/sys/dev/mwl/if_mwl.c ============================================================================== --- stable/10/sys/dev/mwl/if_mwl.c Sat Dec 28 01:26:26 2013 (r259984) +++ stable/10/sys/dev/mwl/if_mwl.c Sat Dec 28 01:33:42 2013 (r259985) @@ -281,11 +281,13 @@ struct mwltxrec { * that all BAR 1 operations are done in the "hal" and * there should be no reference to them here. */ +#ifdef MWL_DEBUG static __inline uint32_t RD4(struct mwl_softc *sc, bus_size_t off) { return bus_space_read_4(sc->sc_io0t, sc->sc_io0h, off); } +#endif static __inline void WR4(struct mwl_softc *sc, bus_size_t off, uint32_t val)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312280133.rBS1Xh73024592>