projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] kfree cleanup: fs
[cascardo/linux.git]
/
fs
/
9p
/
trans_sock.c
diff --git
a/fs/9p/trans_sock.c
b/fs/9p/trans_sock.c
index
01e26f0
..
a93c2bf
100644
(file)
--- a/
fs/9p/trans_sock.c
+++ b/
fs/9p/trans_sock.c
@@
-269,8
+269,7
@@
static void v9fs_sock_close(struct v9fs_transport *trans)
dprintk(DEBUG_TRANS, "socket closed\n");
}
- if (ts)
- kfree(ts);
+ kfree(ts);
trans->priv = NULL;
}