diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 542db9d0dbcd..b7cfc74c1757 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1804,7 +1804,6 @@ static inline u32 btrfs_extent_inline_ref_size(int type) if (type == BTRFS_EXTENT_DATA_REF_KEY) return sizeof(struct btrfs_extent_data_ref) + offsetof(struct btrfs_extent_inline_ref, offset); - BUG(); return 0; }