Commit f0b5c6d3 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman
Browse files

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: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 622c9d97
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -207,9 +207,10 @@ 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;
}