Commit 6c53da5d authored by Chuck Lever's avatar Chuck Lever

SUNRPC: Remove transport class dprintk call sites

Remove a couple of dprintk call sites that are of little value.
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Acked-by: default avatarTom Talpey <tom@talpey.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 02cea33f
...@@ -86,8 +86,6 @@ int svc_reg_xprt_class(struct svc_xprt_class *xcl) ...@@ -86,8 +86,6 @@ int svc_reg_xprt_class(struct svc_xprt_class *xcl)
struct svc_xprt_class *cl; struct svc_xprt_class *cl;
int res = -EEXIST; int res = -EEXIST;
dprintk("svc: Adding svc transport class '%s'\n", xcl->xcl_name);
INIT_LIST_HEAD(&xcl->xcl_list); INIT_LIST_HEAD(&xcl->xcl_list);
spin_lock(&svc_xprt_class_lock); spin_lock(&svc_xprt_class_lock);
/* Make sure there isn't already a class with the same name */ /* Make sure there isn't already a class with the same name */
...@@ -110,7 +108,6 @@ EXPORT_SYMBOL_GPL(svc_reg_xprt_class); ...@@ -110,7 +108,6 @@ EXPORT_SYMBOL_GPL(svc_reg_xprt_class);
*/ */
void svc_unreg_xprt_class(struct svc_xprt_class *xcl) void svc_unreg_xprt_class(struct svc_xprt_class *xcl)
{ {
dprintk("svc: Removing svc transport class '%s'\n", xcl->xcl_name);
spin_lock(&svc_xprt_class_lock); spin_lock(&svc_xprt_class_lock);
list_del_init(&xcl->xcl_list); list_del_init(&xcl->xcl_list);
spin_unlock(&svc_xprt_class_lock); spin_unlock(&svc_xprt_class_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment