aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorGou Hao <[email protected]>2023-10-24 03:52:15 +0000
committerTheodore Ts'o <[email protected]>2024-01-05 04:26:21 +0000
commitf2fec3e99a32d7c14dbf63c824f8286ebc94b18d (patch)
tree1f03a3e773b3fab132f954663e42501d89c203fe /security/selinux/hooks.c
parentext4: reduce unnecessary memory allocation in alloc_flex_gd() (diff)
downloadkernel-f2fec3e99a32d7c14dbf63c824f8286ebc94b18d.tar.gz
kernel-f2fec3e99a32d7c14dbf63c824f8286ebc94b18d.zip
ext4: delete redundant calculations in ext4_mb_get_buddy_page_lock()
'blocks_per_page' is always 1 after 'if (blocks_per_page >= 2)', 'pnum' and 'block' are equal in this case. Signed-off-by: Gou Hao <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions