]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: remove unnecessary goto and associated label
authorJohn Johansen <john.johansen@canonical.com>
Wed, 6 May 2026 08:17:38 +0000 (01:17 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 14 Jun 2026 03:18:17 +0000 (20:18 -0700)
commite27bfb2ae9ad8522aea82d435fd6d73cccee7e17
treed3ecbee62bcd28c4e6fe49b8ec51b3b07bd31012
parent7306c41672487a6c28430714be063bc6942c28f2
apparmor: remove unnecessary goto and associated label

There is no need for a goto a label immediately following the
conditional block when the jump is the last statement in the block.

Fixes: 7306c41672487 ("apparmor: release exe file resources on path failure")
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/task.c