[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
@@ -889,7 +889,7 @@ shut_us_down:
|
||||
|
||||
tp->t_commit_lsn = commit_lsn;
|
||||
if (nvec > XFS_TRANS_LOGVEC_COUNT) {
|
||||
kmem_free(log_vector, nvec * sizeof(xfs_log_iovec_t));
|
||||
kmem_free(log_vector);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1265,7 +1265,7 @@ xfs_trans_committed(
|
||||
ASSERT(!XFS_LIC_ARE_ALL_FREE(licp));
|
||||
xfs_trans_chunk_committed(licp, tp->t_lsn, abortflag);
|
||||
next_licp = licp->lic_next;
|
||||
kmem_free(licp, sizeof(xfs_log_item_chunk_t));
|
||||
kmem_free(licp);
|
||||
licp = next_licp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user