Re: [PATCH 1/2] cgroup: rstat: explicitly put loop variant in while

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 25, 2021 at 12:09:31AM +0000, Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
> Instead of do while unconditionally, let's put the loop variant in
> while.
> 
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
> ---
>  kernel/cgroup/rstat.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Makes sense,
Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux