mtx: retire PARTIAL_PICKUP_GIANT
It does not appear to have ever been used. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
ebdf27b6f3
commit
bc2ccf0e4f
@ -509,16 +509,13 @@ do { \
|
||||
}
|
||||
|
||||
#define PICKUP_GIANT() \
|
||||
PARTIAL_PICKUP_GIANT(); \
|
||||
} while (0)
|
||||
|
||||
#define PARTIAL_PICKUP_GIANT() \
|
||||
mtx_assert(&Giant, MA_NOTOWNED); \
|
||||
if (__predict_false(_giantcnt > 0)) { \
|
||||
while (_giantcnt--) \
|
||||
mtx_lock(&Giant); \
|
||||
WITNESS_RESTORE(&Giant.lock_object, Giant); \
|
||||
}
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
struct mtx_args {
|
||||
|
Loading…
Reference in New Issue
Block a user