]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: zstd: remove local variable for storing page offsets
authorDavid Sterba <dsterba@suse.com>
Wed, 12 Feb 2025 20:22:05 +0000 (21:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:42 +0000 (20:35 +0100)
commit17b98249226aacfc8f7d4aba5a601a975ffed986
tree48afbfb2b14b7bd09829c62323a24c7d93098190
parentcfb999b81aa6285db1ecf090346be46d53213384
btrfs: zstd: remove local variable for storing page offsets

When using offset_in_page() it's clear what it means, we don't need to
store it in the local variable just to use it right away. There's no
change in the generated code, but keeps the declarations smaller.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/zstd.c