mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 21:06:16 +07:00
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);
|
SLEEPJIFFIES(10);
|
||||||
write_lock(&pw->lock);
|
write_lock(&pw->lock);
|
||||||
} else
|
} else {
|
||||||
pw->want_to_stop = FALSE;
|
pw->want_to_stop = FALSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
write_unlock(&pw->lock);
|
write_unlock(&pw->lock);
|
||||||
return stopped_something;
|
return stopped_something;
|
||||||
|
Loading…
Reference in New Issue
Block a user