projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b00c64
)
nfs: Remove redundant NULL check upon kfree()
author
Davidlohr Bueso
<dave@gnu.org>
Wed, 11 Aug 2010 16:42:15 +0000
(12:42 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Aug 2010 16:42:15 +0000
(12:42 -0400)
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 7ffbb98ddec34c405bde993b0df16873162e21b6..6b44bbfb7d8a52932846aa86291e218ce5ed3719 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-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;
}