mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
nfs: Remove redundant NULL check upon kfree()
Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
parent
9b00c64318
commit
5d7ca35a18
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue