There's no need to test whether a (delayed) work item in pending before queueing, flushing or cancelling it. It has been tested in queue_work_on() already. No functional changed.
Xie XiuQi (5): iio: adc: remove unnecessary work pending test input: remove unnecessary work pending test lib: remove unnecessary work pending test staging: olpc_dcon: remove unnecessary work pending test ipc: input: remove unnecessary work pending test drivers/input/touchscreen/cyttsp4_core.c | 3 +-- drivers/staging/iio/adc/ad7606_core.c | 7 +++---- drivers/staging/olpc_dcon/olpc_dcon.c | 2 +- ipc/util.c | 4 +--- lib/debugobjects.c | 2 +- 5 files changed, 7 insertions(+), 11 deletions(-) -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/