__es_insert_extent() never returns -EINVAL after BUG is executed. So remove unreachable code. --- fs/ext4/extents_status.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c index a959adc..7f97360 100644 --- a/fs/ext4/extents_status.c +++ b/fs/ext4/extents_status.c @@ -781,7 +781,6 @@ static int __es_insert_extent(struct inode *inode, struct extent_status *newes) p = &(*p)->rb_right; } else { BUG(); - return -EINVAL; } } -- 2.6.2