diff options
author | Filipe Manana <fdmanana@suse.com> | 2022-10-11 13:16:58 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:38 +0100 |
commit | 206c1d32f381ee91ba849a7dcb28728e8c3721b6 (patch) | |
tree | 30c69bc2a7b1c48cfa5dd62e8280e1041d2f370d /fs/btrfs/backref.c | |
parent | b98c6cd59e90fe659cf966859bc4e1c03aea347b (diff) |
btrfs: drop redundant bflags initialization when allocating extent buffer
When allocating an extent buffer, at __alloc_extent_buffer(), there's no
point in explicitly assigning zero to the bflags field of the new extent
buffer because we allocated it with kmem_cache_zalloc().
So just remove the redundant initialization, it saves one mov instruction
in the generated assembly code for x86_64 ("movq $0x0,0x10(%rax)").
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions