diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-22 19:47:40 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@opteron.(none)> | 2008-10-22 19:47:40 -0400 |
commit | 0b15a3a5285bac2a2caa4ef970410674b6dd2de5 (patch) | |
tree | 219c22a3cc1ab961bff46308e64288ed63ff034d /net/9p/trans_fd.c | |
parent | 2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff) |
9p: fix debug build error
Fixes build problem with 9p when building with debug disabled.
Also contains some fixes for warnings which pop up when
CONFIG_NET_9P_DEBUG is disabled.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_fd.c')
-rw-r--r-- | net/9p/trans_fd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index be65d8242fd2..1df0356f242b 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c | |||
@@ -678,11 +678,9 @@ static int p9_fd_request(struct p9_client *client, struct p9_req_t *req) | |||
678 | 678 | ||
679 | static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) | 679 | static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) |
680 | { | 680 | { |
681 | struct p9_trans_fd *ts = client->trans; | ||
682 | struct p9_conn *m = ts->conn; | ||
683 | int ret = 1; | 681 | int ret = 1; |
684 | 682 | ||
685 | P9_DPRINTK(P9_DEBUG_TRANS, "mux %p req %p\n", m, req); | 683 | P9_DPRINTK(P9_DEBUG_TRANS, "client %p req %p\n", client, req); |
686 | 684 | ||
687 | spin_lock(&client->lock); | 685 | spin_lock(&client->lock); |
688 | list_del(&req->req_list); | 686 | list_del(&req->req_list); |