staging: unisys: correctly handle return value from queue_delayed_work()
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 1 Oct 2015 15:52:30 +0000 (11:52 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:37:53 +0000 (11:37 +0200)
commitf84bd6267d623b49f196d54ba9edc41ff1c4d5e3
tree78fa20506501cc0f96c7161ab823563495a4bb02
parent07f8260bb65676910d4a16e81a319b33095dccb6
staging: unisys: correctly handle return value from queue_delayed_work()

Properly handle the return value from queue_delayed_work() - it's a
bool, not an int, so using a less than comparison isn't appropriate.

This mistake was found by David Binderman <dcb314@hotmail.com>.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/periodic_work.c
This page took 0.027325 seconds and 5 git commands to generate.