summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorTom Tucker <tom@opengridcomputing.com>2008-10-23 16:32:28 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2008-11-05 13:19:06 -0600
commit82b189eaaf6186b7694317632255fa87460820a0 (patch)
tree06b6e37183b7ab4a0e7e9202cdb83c36504b10c5 /net/9p
parentcac23d6505546f4cfa42d949ec46d431a44bd39c (diff)
9p: Remove unneeded free of fcall for Flush
T and R fcall are reused until the client is destroyed. There does not need to be a special case for Flush Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p')
-rw-r--r--net/9p/client.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index f4e6c05b3c6..26ca8ab4519 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -311,12 +311,6 @@ static void p9_free_req(struct p9_client *c, struct p9_req_t *r)
r->status = REQ_STATUS_IDLE;
if (tag != P9_NOTAG && p9_idpool_check(tag, c->tagpool))
p9_idpool_put(tag, c->tagpool);
-
- /* if this was a flush request we have to free response fcall */
- if (r->rc->id == P9_RFLUSH) {
- kfree(r->tc);
- kfree(r->rc);
- }
}
/**