staging:iio:adc:ad7606 remove unnecessary work pending test
authorXie XiuQi <xiexiuqi@huawei.com>
Fri, 6 Sep 2013 11:02:00 +0000 (12:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 9 Sep 2013 21:14:16 +0000 (22:14 +0100)
commit4fa3332505898b4709b75e99bb6a09c56885266f
treeb0aadc43e193efeede4ac03a07baec8408ec163d
parent8c4a8c9d5e55e10e5b0c8d3406af363281ac2606
staging:iio:adc:ad7606 remove unnecessary work pending test

Remove unnecessary work pending test before calling schedule_work().
It has been tested in queue_work_on() already. No functional changed.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7606_core.c