+ linux-wireless Thomas Gleixner <tglx@xxxxxxxxxxxxx> writes: > cond_resched() can be used unconditionally. If CONFIG_PREEMPT is set, it > becomes a NOP scheduler wise. > > Also the B43_BUG_ON() in that wrapper is a homebrewn variant of > __might_sleep() which is part of cond_resched() already. > > Remove the wrapper and invoke cond_resched() directly. > > Found while looking for CONFIG_PREEMPT dependent code treewide. > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Cc: netdev@xxxxxxxxxxxxxxx > Cc: b43-dev@xxxxxxxxxxxxxxxxxxx > Cc: Kalle Valo <kvalo@xxxxxxxxxxxxxx> > Cc: Larry Finger <Larry.Finger@xxxxxxxxxxxx> I use patchwork and this doesn't show there as our patchwork follows only linux-wireless linux. Can you resend and Cc also linux-wireless@xxxxxxxxxxxxxxx, please? -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches