Date: Sun, 14 Jun 2009 06:35:03 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r194167 - projects/mips/sys/mips/octeon1/dev/rgmii Message-ID: <200906140635.n5E6Z3w4038021@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sun Jun 14 06:35:02 2009 New Revision: 194167 URL: http://svn.freebsd.org/changeset/base/194167 Log: Stylish nits Modified: projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h Modified: projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h ============================================================================== --- projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h Sun Jun 14 06:27:11 2009 (r194166) +++ projects/mips/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h Sun Jun 14 06:35:02 2009 (r194167) @@ -583,13 +583,11 @@ static inline void *octeon_pow_pktptr_to #define OCTEON_RGMX_ADRCTL_CAM_MODE_ACCEPT_DMAC 8 - #define RGMX_LOCK_INIT(_sc, _name) \ mtx_init(&(_sc)->mtx, _name, MTX_NETWORK_LOCK, MTX_DEF) #define RGMX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx) #define RGMX_LOCK(_sc) mtx_lock(&(_sc)->mtx) -#define RGMX_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) +#define RGMX_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) #define RGMX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED) - #endif /* ___OCTEON_RGMX__H___ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906140635.n5E6Z3w4038021>