[XFS] Remove unused arg from kmem_free()
kmem_free() function takes (ptr, size) arguments but doesn't actually use second one. This patch removes size argument from all callsites. SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31050a Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
committed by
Niv Sardi
parent
7c12f29650
commit
f0e2d93c29
@ -1110,7 +1110,7 @@ xfs_dir2_leaf_getdents(
|
||||
*offset = XFS_DIR2_MAX_DATAPTR;
|
||||
else
|
||||
*offset = xfs_dir2_byte_to_dataptr(mp, curoff);
|
||||
kmem_free(map, map_size * sizeof(*map));
|
||||
kmem_free(map);
|
||||
if (bp)
|
||||
xfs_da_brelse(NULL, bp);
|
||||
return error;
|
||||
|
Reference in New Issue
Block a user