diff options
author | jhb <jhb@FreeBSD.org> | 2006-03-30 15:48:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-03-30 15:48:06 +0000 |
commit | 8e9f421e3387bd0f074dddaff054b1ce0e7c049b (patch) | |
tree | 427cbc872b78ddf3fe692a31dd68cfd633a942bb /sys | |
parent | 2a7268cfd4de3986d8ab37643fd82828026c3a18 (diff) | |
download | FreeBSD-src-8e9f421e3387bd0f074dddaff054b1ce0e7c049b.zip FreeBSD-src-8e9f421e3387bd0f074dddaff054b1ce0e7c049b.tar.gz |
Style fix.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sx.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/sys/sx.h b/sys/sys/sx.h index f88fb86..6336893 100644 --- a/sys/sys/sx.h +++ b/sys/sys/sx.h @@ -84,13 +84,12 @@ struct sx_args { #define sx_xunlock(sx) _sx_xunlock((sx), LOCK_FILE, LOCK_LINE) #define sx_try_upgrade(sx) _sx_try_upgrade((sx), LOCK_FILE, LOCK_LINE) #define sx_downgrade(sx) _sx_downgrade((sx), LOCK_FILE, LOCK_LINE) -#define sx_unlock(sx) \ - do { \ - if ((sx)->sx_cnt < 0) \ - sx_xunlock(sx); \ - else \ - sx_sunlock(sx); \ - } while (0) +#define sx_unlock(sx) do { \ + if ((sx)->sx_cnt < 0) \ + sx_xunlock(sx); \ + else \ + sx_sunlock(sx); \ +} while (0) #if defined(INVARIANTS) || defined(INVARIANT_SUPPORT) #define SX_LOCKED LA_LOCKED |