Re: [patch] staging: unisys: remove some dead code

2016-01-12 Thread Ben Romer
On 01/07/2016 04:34 AM, Dan Carpenter wrote: queue_delayed_work() returns bool, not negative error codes. It returns false if the work has already been queued or true otherwise. Since we don't care about that, we can just remove the test. Signed-off-by: Dan Carpenter

[patch] staging: unisys: remove some dead code

2016-01-07 Thread Dan Carpenter
queue_delayed_work() returns bool, not negative error codes. It returns false if the work has already been queued or true otherwise. Since we don't care about that, we can just remove the test. Signed-off-by: Dan Carpenter diff --git

Re: [patch] staging: unisys: remove some dead code

2016-01-07 Thread Don Zickus
On Thu, Jan 07, 2016 at 12:34:13PM +0300, Dan Carpenter wrote: > queue_delayed_work() returns bool, not negative error codes. It returns > false if the work has already been queued or true otherwise. Since > we don't care about that, we can just remove the test. > > Signed-off-by: Dan Carpenter