diff options
Diffstat (limited to 'net/9p/trans_virtio.c')
-rw-r--r-- | net/9p/trans_virtio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 36bce45e4e44..e18de14c30d5 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c | |||
@@ -247,10 +247,7 @@ p9_virtio_rpc(struct p9_client *c, struct p9_fcall *tc, struct p9_fcall **rc) | |||
247 | } | 247 | } |
248 | #endif | 248 | #endif |
249 | 249 | ||
250 | if (n != P9_NOTAG && p9_idpool_check(n, c->tagpool)) | 250 | p9_free_req(c, req); |
251 | p9_idpool_put(n, c->tagpool); | ||
252 | |||
253 | req->status = REQ_STATUS_IDLE; | ||
254 | 251 | ||
255 | return 0; | 252 | return 0; |
256 | } | 253 | } |