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:
Benjamin Romer 2014-11-04 11:25:22 -05:00 committed by Greg Kroah-Hartman
parent 622c9d97c1
commit f0b5c6d353

View file

@ -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;