diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-16 08:29:31 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 11:04:44 -0500 |
commit | 51d71f9f7a639c8a39401de1ec5ce9b0b6476c99 (patch) | |
tree | a4030ff517c58c3a3ab027417d7299daca61bbf9 /net/9p/trans_fd.c | |
parent | ace51c4dd2f968f427c4627023759ae7e3786cba (diff) | |
download | op-kernel-dev-51d71f9f7a639c8a39401de1ec5ce9b0b6476c99.zip op-kernel-dev-51d71f9f7a639c8a39401de1ec5ce9b0b6476c99.tar.gz |
9p: remove 9p fcall debug prints
One of the current debug options allows users to get a verbose dump of fcalls.
This isn't really necessary as correctly parsed protocol frames can be printed
as part of the code in the client functions. The consolidated printfcalls
structure would require new entries to be added for every extension. This
patch removes the debug print methods and their use.
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 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index c07f2ab..95c9b94 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -650,15 +650,6 @@ static int p9_fd_request(struct p9_client *client, struct p9_req_t *req) if (m->err < 0) return m->err; -#ifdef CONFIG_NET_9P_DEBUG - if ((p9_debug_level&P9_DEBUG_FCALL) == P9_DEBUG_FCALL) { - char buf[150]; - - p9_printfcall(buf, sizeof(buf), req->tc, client->dotu); - printk(KERN_NOTICE "<<< %p %s\n", m, buf); - } -#endif - req->status = REQ_STATUS_UNSENT; spin_lock(&client->lock); |