btrfs: remove unused define EXTENT_SIZE_PER_ITEM
authorDavid Sterba <dsterba@suse.com>
Mon, 20 May 2024 18:19:53 +0000 (20:19 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:19 +0000 (15:33 +0200)
commit5100c4eb527ebe175d3dbaeb0b8cc04f312183d7
treef6a087a15450a355506c77768b6be0bb92cebd36
parentd2715d1db455e5e1099c48408aeae15551b67e02
btrfs: remove unused define EXTENT_SIZE_PER_ITEM

This was added  in c61a16a701a126 ("Btrfs: fix the confusion between
delalloc bytes and metadata bytes") and removed in 03fe78cc2942c5
("btrfs: use delalloc_bytes to determine flush amount for
shrink_delalloc") where the calculation was reworked to use a
non-constant numbers. This was found by 'make W=2'.

Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c