aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_dir2_leaf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dir2_leaf.c b/fs/xfs/xfs_dir2_leaf.c
index 5505edb9b2ff..591eaf235919 100644
--- a/fs/xfs/xfs_dir2_leaf.c
+++ b/fs/xfs/xfs_dir2_leaf.c
@@ -1586,10 +1586,6 @@ xfs_dir2_leaf_search_hash(
1586 ents = xfs_dir3_leaf_ents_p(leaf); 1586 ents = xfs_dir3_leaf_ents_p(leaf);
1587 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); 1587 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf);
1588 1588
1589#ifndef __KERNEL__
1590 if (!leafhdr.count)
1591 return 0;
1592#endif
1593 /* 1589 /*
1594 * Note, the table cannot be empty, so we have to go through the loop. 1590 * Note, the table cannot be empty, so we have to go through the loop.
1595 * Binary search the leaf entries looking for our hash value. 1591 * Binary search the leaf entries looking for our hash value.