Re: [PATCH] cgroup: Refactor two assignments in css_task_iter_next_css_set()

From: zzuedu2000
Date: Sun Jun 14 2020 - 19:24:19 EST


On Sun, 2020-06-14 at 18:10 +0800, James.Bottomley@xxxxxxx wrote:

> it's arguable that having two statements instead of one makes the code
> marginally more readable.

Above the function there is a similar line of code:
l = it->tcset_pos->next;
One line of code makes the code style consistent and more readable


Regards,

Wei Fenghai