nfs: Remove redundant NULL check upon kfree()
Subsystems (3)
PATCH 1/1 nfs: Remove redundant NULL check upon kfree()
nfs: Remove redundant NULL check upon kfree().
Signed-off-by Davidlohr Bueso <[email protected]>
--- fs/nfs/nfs4proc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
fs/nfs/nfs4proc.c +1 -2
@@ -2273,8 +2273,7 @@ static int nfs4_get_referral(struct inode *dir, const struct qstr *name, struct out:if (page)__free_page (page); -if (locations) -kfree (locations); +kfree (locations);return status; }
Signature · 1 line
1.7.0.4