[PATCH v4 17/20] ext4: remove unused code from ext4_remove_blocks()

2013-05-14 Thread Lukas Czerner
The "head removal" branch in the condition is never used in any code path in ext4 since the function only caller ext4_ext_rm_leaf() will make sure that the extent is properly split before removing blocks. Note that there is a bug in this branch anyway. This commit removes the unused code

[PATCH v4 17/20] ext4: remove unused code from ext4_remove_blocks()

2013-05-14 Thread Lukas Czerner
The head removal branch in the condition is never used in any code path in ext4 since the function only caller ext4_ext_rm_leaf() will make sure that the extent is properly split before removing blocks. Note that there is a bug in this branch anyway. This commit removes the unused code completely