Re: [PATCH] coredump: simplify coredump_skip()

From: Christian Brauner
Date: Mon Aug 11 2025 - 09:42:04 EST


On Mon, Aug 11, 2025 at 03:51:55PM +0800, Fushuai Wang wrote:
> Replace the multi-if conditional check with a single return statement.
>
> Signed-off-by: Fushuai Wang <wangfushuai@xxxxxxxxx>
> ---

This is a matter of taste. Thanks for the idea but the checks on
separate lines make it easier to read.