]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: Remove the unused variable rules
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 25 Jul 2025 09:52:52 +0000 (17:52 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Wed, 30 Jul 2025 11:57:56 +0000 (04:57 -0700)
commit8936125e232803e64cb29e107326a942981188d6
tree5d4465203fd74e07306efd81f5f56acadc849e26
parent4d9d1a08b796efd54f1e29b42bd95879109fe448
apparmor: Remove the unused variable rules

Variable rules is not effectively used, so delete it.

security/apparmor/lsm.c:182:23: warning: variable ‘rules’ set but not used.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22942
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c