Skip to content

Commit

Permalink
9p: remove unnecessary tag field from p9_req_t structure
Browse files Browse the repository at this point in the history
This removes the vestigial tag field from the p9_req_t structure.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
Eric Van Hensbergen committed Oct 17, 2008
1 parent 51d71f9 commit cb19813
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions include/net/9p/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ enum p9_req_status_t {
* @tc: the request fcall structure
* @rc: the response fcall structure
* @aux: transport specific data (provided for trans_fd migration)
* @tag: tag on request (BUG: redundant)
* @req_list: link for higher level objects to chain requests
*
* Transport use an array to track outstanding requests
Expand All @@ -104,7 +103,6 @@ struct p9_req_t {
u16 flush_tag;
void *aux;

int tag;
struct list_head req_list;
};

Expand Down
2 changes: 1 addition & 1 deletion net/9p/trans_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req)
struct p9_trans_fd *ts = client->trans;
struct p9_conn *m = ts->conn;

P9_DPRINTK(P9_DEBUG_MUX, "mux %p req %p tag %d\n", m, req, req->tag);
P9_DPRINTK(P9_DEBUG_MUX, "mux %p req %p\n", m, req);

spin_lock(&client->lock);
list_del(&req->req_list);
Expand Down

0 comments on commit cb19813

Please sign in to comment.