um: process: remove unused 'n' variable
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Mar 2024 09:06:38 +0000 (10:06 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 22 Apr 2024 20:30:11 +0000 (22:30 +0200)
commitdac847ae2b718d41b72bd68eb911ca2862ecfb38
tree36682bef75924a6b673288d345fe7861e0fd27ad
parent2caa4982ea8ba601faf8313097720f87aafa7ea5
um: process: remove unused 'n' variable

The return value of fn() wasn't used for a long time,
so no need to assign it to a variable, addressing a
W=1 warning.

This seems to be - with patches from others posted to
the list before - the last W=1 warning in arch/um/.

Fixes: 22e2430d60db ("x86, um: convert to saner kernel_execve() semantics")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/process.c