Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b079a91 authored by Howard McLauchlan's avatar Howard McLauchlan Committed by David Sterba
Browse files

btrfs: remove unused le_test_bit()



With commit b18253ec57c0 ("btrfs: optimize free space tree bitmap
conversion"), there are no more callers to le_test_bit(). This patch
removes le_test_bit().

Signed-off-by: default avatarHoward McLauchlan <hmclauchlan@fb.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent a565971f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -79,11 +79,6 @@
#define BITMAP_LAST_BYTE_MASK(nbits) \
	(BYTE_MASK >> (-(nbits) & (BITS_PER_BYTE - 1)))

static inline int le_test_bit(int nr, const u8 *addr)
{
	return 1U & (addr[BIT_BYTE(nr)] >> (nr & (BITS_PER_BYTE-1)));
}

struct extent_state;
struct btrfs_root;
struct btrfs_inode;