summaryrefslogtreecommitdiffstats
path: root/sys/sys/mutex.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-06-01 11:31:09 +0000
committerjhb <jhb@FreeBSD.org>2013-06-01 11:31:09 +0000
commit94bc7b88c2c1ca6e3544e9d8c044debab63175af (patch)
tree3682bd6789285101ce10abe9287ab6b2ecb7e324 /sys/sys/mutex.h
parent90efd162439bcd23be4ec15b0387320d50cd8cc4 (diff)
downloadFreeBSD-src-94bc7b88c2c1ca6e3544e9d8c044debab63175af.zip
FreeBSD-src-94bc7b88c2c1ca6e3544e9d8c044debab63175af.tar.gz
Remove an unused macro we originally got from BSD/OS.
Diffstat (limited to 'sys/sys/mutex.h')
-rw-r--r--sys/sys/mutex.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h
index 85d6996..1c9d5d5 100644
--- a/sys/sys/mutex.h
+++ b/sys/sys/mutex.h
@@ -426,12 +426,6 @@ do { \
}
#endif
-#define UGAR(rval) do { \
- int _val = (rval); \
- mtx_unlock(&Giant); \
- return (_val); \
-} while (0)
-
struct mtx_args {
void *ma_mtx;
const char *ma_desc;
OpenPOWER on IntegriCloud