[PATCH 12/32] staging: gasket: gasket_wait_with_reschedule simplify logic

2018-07-17 Thread Todd Poynor
From: Todd Poynor gasket_wait_with_reschedule() is a little more clear if we just return directly when the waited-for condition is hit. This also allows the following condition check to be removed and identation of the conditionally-executed code to be reduced. Reported-by: Dmitry Torokhov

[PATCH 12/32] staging: gasket: gasket_wait_with_reschedule simplify logic

2018-07-17 Thread Todd Poynor
From: Todd Poynor gasket_wait_with_reschedule() is a little more clear if we just return directly when the waited-for condition is hit. This also allows the following condition check to be removed and identation of the conditionally-executed code to be reduced. Reported-by: Dmitry Torokhov