]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
9p: remove unnecessary tag field from p9_req_t structure
authorEric Van Hensbergen <ericvh@gmail.com>
Thu, 16 Oct 2008 13:29:31 +0000 (08:29 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 17 Oct 2008 16:04:45 +0000 (11:04 -0500)
This removes the vestigial tag field from the p9_req_t structure.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
include/net/9p/client.h
net/9p/trans_fd.c

index eeb7d922816e88f5f97e09094b5975f8bfb7eba6..475ef5cf1644d97b9b8be2a3c2f35e3adb62c283 100644 (file)
@@ -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
@@ -104,7 +103,6 @@ struct p9_req_t {
        u16 flush_tag;
        void *aux;
 
-       int tag;
        struct list_head req_list;
 };
 
index 95c9b949d1a5ddfe33bd615289278e3995c2ce02..e147ec539585dcfbd074576e5dbd0775fe343a2f 100644 (file)
@@ -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);