On Tue, Oct 19, 2021 at 10:24:17PM +0100, Pavel Begunkov wrote: > First, don't init a callback list if there are no plug callbacks. Also, > replace internals of the function with do-while. So the check to not call into the callback code when there are none, which is the usual case, totally makes sense. But what is the point of the rest?