mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 18:59:37 +00:00
Stylish nits
This commit is contained in:
parent
00e1958bd4
commit
db9c08f280
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=194167
@ -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___ */
|
||||
|
Loading…
Reference in New Issue
Block a user