diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-16 09:29:31 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 12:04:45 -0400 |
commit | cb198131b0e7aba755ac164744536d461e86ab82 (patch) | |
tree | b6396ab16839bf2e87833c3a0cb32d710fdaa8f4 | |
parent | 51d71f9f7a639c8a39401de1ec5ce9b0b6476c99 (diff) |
9p: remove unnecessary tag field from p9_req_t structure
This removes the vestigial tag field from the p9_req_t structure.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
-rw-r--r-- | include/net/9p/client.h | 2 | ||||
-rw-r--r-- | net/9p/trans_fd.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index eeb7d922816e..475ef5cf1644 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -81,7 +81,6 @@ enum p9_req_status_t { | |||
81 | * @tc: the request fcall structure | 81 | * @tc: the request fcall structure |
82 | * @rc: the response fcall structure | 82 | * @rc: the response fcall structure |
83 | * @aux: transport specific data (provided for trans_fd migration) | 83 | * @aux: transport specific data (provided for trans_fd migration) |
84 | * @tag: tag on request (BUG: redundant) | ||
85 | * @req_list: link for higher level objects to chain requests | 84 | * @req_list: link for higher level objects to chain requests |
86 | * | 85 | * |
87 | * Transport use an array to track outstanding requests | 86 | * Transport use an array to track outstanding requests |
@@ -104,7 +103,6 @@ struct p9_req_t { | |||
104 | u16 flush_tag; | 103 | u16 flush_tag; |
105 | void *aux; | 104 | void *aux; |
106 | 105 | ||
107 | int tag; | ||
108 | struct list_head req_list; | 106 | struct list_head req_list; |
109 | }; | 107 | }; |
110 | 108 | ||
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 95c9b949d1a5..e147ec539585 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c | |||
@@ -672,7 +672,7 @@ static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) | |||
672 | struct p9_trans_fd *ts = client->trans; | 672 | struct p9_trans_fd *ts = client->trans; |
673 | struct p9_conn *m = ts->conn; | 673 | struct p9_conn *m = ts->conn; |
674 | 674 | ||
675 | P9_DPRINTK(P9_DEBUG_MUX, "mux %p req %p tag %d\n", m, req, req->tag); | 675 | P9_DPRINTK(P9_DEBUG_MUX, "mux %p req %p\n", m, req); |
676 | 676 | ||
677 | spin_lock(&client->lock); | 677 | spin_lock(&client->lock); |
678 | list_del(&req->req_list); | 678 | list_del(&req->req_list); |