staging: unisys: fix bracketing in visor_periodic_work_stop()
The last if statement in this function is missing brackets on the else clause. Add them. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
622c9d97c1
commit
f0b5c6d353
|
@ -207,8 +207,9 @@ BOOL visor_periodic_work_stop(struct periodic_work *pw)
|
|||
*/
|
||||
SLEEPJIFFIES(10);
|
||||
write_lock(&pw->lock);
|
||||
} else
|
||||
} else {
|
||||
pw->want_to_stop = FALSE;
|
||||
}
|
||||
}
|
||||
write_unlock(&pw->lock);
|
||||
return stopped_something;
|
||||
|
|
Loading…
Reference in a new issue