um: fix unused variable warning
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 5 Jun 2025 05:03:24 +0000 (07:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 5 Jun 2025 09:12:13 +0000 (11:12 +0200)
commit27a041040f2c6cfbbc24053bce9acb2e801e4e71
tree76e2302ab3e01f4b682561bc6429bf2d13fd77da
parent942349413a49670e8bed246e2185fd3a053227be
um: fix unused variable warning

The code was updated to access the PID of the userspace stub process in
a different way, making the local cpu variable obsolete. Remove it.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506050008.AwXLNxQX-lkp@intel.com/
Fixes: 406d17c6c370 ("um: Implement kernel side of SECCOMP based process handling")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20250605050325.1077208-1-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/tls_32.c