Multiqueue feature will make the number of queues dynamic, so XN_LOCK_INIT won't be that useful. Remove the macro and call mtx_init directly.
XN_LOCK_DESTROY is just dead code.
Differential D3890
netfront: remove XN_LOCK_{INIT,DESTROY} liuw_liuw.name on Oct 14 2015, 2:45 PM. Authored by Tags Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions LGTM, only a minor comment that I can fix while committing.
|