Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d7ca35a authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Trond Myklebust
Browse files

nfs: Remove redundant NULL check upon kfree()

parent 9b00c643
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2273,7 +2273,6 @@ static int nfs4_get_referral(struct inode *dir, const struct qstr *name, struct
out:
	if (page)
		__free_page(page);
	if (locations)
	kfree(locations);
	return status;
}