mirror of https://github.com/vitalif/e2fsprogs
filefrag: remove useless assignment
The very next one memset's all bytes of fiemap to 0. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>bitmap-optimize
parent
c475534cd5
commit
b637f8e7ed
|
@ -179,8 +179,6 @@ static int filefrag_fiemap(int fd, int blk_shift, int *num_extents)
|
|||
int last = 0;
|
||||
int rc;
|
||||
|
||||
fiemap->fm_length = ~0ULL;
|
||||
|
||||
memset(fiemap, 0, sizeof(struct fiemap));
|
||||
|
||||
if (!verbose)
|
||||
|
|
Loading…
Reference in New Issue