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:44 -0400 |
commit | 51d71f9f7a639c8a39401de1ec5ce9b0b6476c99 (patch) | |
tree | a4030ff517c58c3a3ab027417d7299daca61bbf9 /net/9p/client.c | |
parent | ace51c4dd2f968f427c4627023759ae7e3786cba (diff) |
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/client.c')
-rw-r--r-- | net/9p/client.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index a9982df00a3a..6004fded6682 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
@@ -502,15 +502,6 @@ again: | |||
502 | goto reterr; | 502 | goto reterr; |
503 | } | 503 | } |
504 | 504 | ||
505 | #ifdef CONFIG_NET_9P_DEBUG | ||
506 | if ((p9_debug_level&P9_DEBUG_FCALL) == P9_DEBUG_FCALL) { | ||
507 | char buf[150]; | ||
508 | |||
509 | p9_printfcall(buf, sizeof(buf), req->rc, c->dotu); | ||
510 | printk(KERN_NOTICE ">>> %p %s\n", c, buf); | ||
511 | } | ||
512 | #endif | ||
513 | |||
514 | if (req->rc->id == P9_RERROR) { | 505 | if (req->rc->id == P9_RERROR) { |
515 | int ecode = req->rc->params.rerror.errno; | 506 | int ecode = req->rc->params.rerror.errno; |
516 | struct p9_str *ename = &req->rc->params.rerror.error; | 507 | struct p9_str *ename = &req->rc->params.rerror.error; |