diff options
| -rw-r--r-- | net/9p/client.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index f4e6c05b3c68..26ca8ab45196 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) | |||
| 311 | r->status = REQ_STATUS_IDLE; | 311 | r->status = REQ_STATUS_IDLE; |
| 312 | if (tag != P9_NOTAG && p9_idpool_check(tag, c->tagpool)) | 312 | if (tag != P9_NOTAG && p9_idpool_check(tag, c->tagpool)) |
| 313 | p9_idpool_put(tag, c->tagpool); | 313 | p9_idpool_put(tag, c->tagpool); |
| 314 | |||
| 315 | /* if this was a flush request we have to free response fcall */ | ||
| 316 | if (r->rc->id == P9_RFLUSH) { | ||
| 317 | kfree(r->tc); | ||
| 318 | kfree(r->rc); | ||
| 319 | } | ||
| 320 | } | 314 | } |
| 321 | 315 | ||
| 322 | /** | 316 | /** |
