Staging: heci: do not print error when heci_bh_handler is already on workqueue
authorDongxiao Xu <dongxiao.xu@intel.com>
Sun, 31 May 2009 06:43:58 +0000 (14:43 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:55 +0000 (11:00 -0700)
commit8d1c50e9829442be5bc88979d587af2a5ff07e32
tree7317485e181e29cbf3370ad2df9fba2ab846fbea
parentad914a3ec5f1b8c4f97a00f94e11bb20f99a901b
Staging: heci: do not print error when heci_bh_handler is already on workqueue

schedule_work returns 0, if the work is already on the work_queue, else
returns non-zero. Do not print error message if heci_bh_handlerwork was
already on queue.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/heci/interrupt.c