staging: olpc_dcon: remove unnecessary work pending test
authorXie XiuQi <xiexiuqi@huawei.com>
Thu, 19 Sep 2013 22:04:57 +0000 (15:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:29:00 +0000 (16:29 -0700)
commit14ab3daaea04da644f96ad66902013fb72b99406
treeb3bce048ee3a3f958ad811816e2a8d665aec3a7c
parentb6c5d7715df1aac2be9979253a1c7403b456dd11
staging: olpc_dcon: 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>
Cc: Jens Frederich <jfrederich@gmail.com>
Cc: Daniel Drake <dsd@laptop.org>
Cc: Jon Nettleton <jon.nettleton@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.c