On 10/02/2022 11:42, Damien Le Moal wrote:
Avoid repeatedly declaring "struct task_status_struct *ts" to handle error cases by declaring this variable for the entire function scope. This allows simplifying the error cases, and together with the addition of blank lines make the code more readable. Signed-off-by: Damien Le Moal<damien.lemoal@xxxxxxxxxxxxxxxxxx> ---
Reviewed-by: John Garry <john.garry@xxxxxxxxxx>