diff options
author | Lukas Czerner <lczerner@redhat.com> | 2014-04-01 06:59:21 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-04-01 06:59:21 +0200 |
commit | e5b30416f3631bf4eed37c3bec9f789f9ae78446 (patch) | |
tree | 3db5a4e171befe59982748f1e6edd2b1acc75bc5 /fs/cramfs/inode.c | |
parent | ext4: fix comment typo (diff) | |
download | linux-e5b30416f3631bf4eed37c3bec9f789f9ae78446.tar.xz linux-e5b30416f3631bf4eed37c3bec9f789f9ae78446.zip |
ext4: remove unneeded test of ret variable
Currently in ext4_fallocate() and ext4_zero_range() we're testing ret
variable along with new_size. However in ext4_fallocate() we just tested
ret before and in ext4_zero_range() if will always be zero when we get
there so there is no need to test it in both cases.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/cramfs/inode.c')
0 files changed, 0 insertions, 0 deletions