Re: [PATCH] 9p/fs: Different branch return the same value
From: Christian Schoenebeck
Date: Sat Nov 16 2024 - 11:37:54 EST
On Saturday, November 16, 2024 4:26:12 PM CET Rex Nie wrote:
> The same code is executed when the condition ret < 0 is true or false.
> Remove the if branch and just return v9fs_init_inode_cache(). This
> does not change the semantics of the original code.
>
> Signed-off-by: Rex Nie <rexnie3@xxxxxxxxx>
> ---
> fs/9p/v9fs.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
Too late to the party: :)
https://lore.kernel.org/all/20241107095756.10261-1-colin.i.king@xxxxxxxxx/
But thanks!
/Christian