Fix the build and fix style.
Pointy-hat to: davide
This commit is contained in:
parent
05869c0ea7
commit
286026fc85
@ -71,8 +71,8 @@ void _callout_init_lock(struct callout *, struct lock_object *, int);
|
||||
#define callout_init_mtx(c, mtx, flags) \
|
||||
_callout_init_lock((c), ((mtx) != NULL) ? &(mtx)->lock_object : \
|
||||
NULL, (flags))
|
||||
#define callout_init_rm(c, rm, flags)
|
||||
_callout_init_lock((c), ((rm != NULL) ? &(rm)->lock_object : \
|
||||
#define callout_init_rm(c, rm, flags) \
|
||||
_callout_init_lock((c), ((rm != NULL) ? &(rm)->lock_object : \
|
||||
NULL, (flags))
|
||||
#define callout_init_rw(c, rw, flags) \
|
||||
_callout_init_lock((c), ((rw) != NULL) ? &(rw)->lock_object : \
|
||||
|
Loading…
Reference in New Issue
Block a user