aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-03-13 16:55:54 +0000
committerDavid Sterba <[email protected]>2025-03-18 19:35:56 +0000
commit37b0c3150bcb72fe51aa7c7660fcb54c06c84427 (patch)
treea026b26f404eb5f38379d0582570b436cf716586 /drivers/fpga/tests/fpga-mgr-test.c
parentbtrfs: use memcmp_extent_buffer() at replay_one_extent() (diff)
downloadkernel-37b0c3150bcb72fe51aa7c7660fcb54c06c84427.tar.gz
kernel-37b0c3150bcb72fe51aa7c7660fcb54c06c84427.zip
btrfs: remove redundant else statement from btrfs_log_inode_parent()
If we don't need to log new directory dentries, there's no point in having an else branch just to set 'ret' to zero, as it's already zero because every time it gets a non-zero value we jump into one of the exit labels. So remove it, which reduces source code size and the module text size. Before this change: $ size fs/btrfs/btrfs.ko text data bss dec hex filename 1813855 163737 16920 1994512 1e6f10 fs/btrfs/btrfs.ko After this change: $ size fs/btrfs/btrfs.ko text data bss dec hex filename 1813807 163737 16920 1994464 1e6ee0 fs/btrfs/btrfs.ko Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions