From db9c08f280ecceecda80cc2e0bd35121ef7297c3 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 14 Jun 2009 06:35:02 +0000 Subject: [PATCH] Stylish nits --- sys/mips/octeon1/dev/rgmii/octeon_rgmx.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h b/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h index 8b74db23ef3e..d1eb8b9171ad 100644 --- a/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h +++ b/sys/mips/octeon1/dev/rgmii/octeon_rgmx.h @@ -583,13 +583,11 @@ static inline void *octeon_pow_pktptr_to_kbuffer (octeon_buf_ptr_t pkt_ptr) #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___ */