um: signal: move pid variable where needed
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Mar 2024 09:06:34 +0000 (10:06 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 22 Apr 2024 20:25:44 +0000 (22:25 +0200)
commit158a6b914c5196cdce2923e642a6acf0ebba3d31
tree871f9ef5cdd2bd16c63929d16d31bf6f2336fd13
parent19ee69234a7281e4706d789c764f93be6fc7b5b2
um: signal: move pid variable where needed

We have W=1 warnings on 64-bit because the pid is only
used in branches on 32-bit; move it inside to get rid of
the warnings.

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/x86/um/signal.c