[PATCH 5/5] nfs: Remove duplicate debug message 'using auth flavor'

Pali Rohár posted 5 patches 2 months, 2 weeks ago
[PATCH 5/5] nfs: Remove duplicate debug message 'using auth flavor'
Posted by Pali Rohár 2 months, 2 weeks ago
Function nfs_verify_authflavors() prints debug message 'using auth flavor'
on success. So not print same debug message after nfs_verify_authflavors()
call again.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 fs/nfs/super.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 86d98d15ee22..be487118cedc 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -938,8 +938,6 @@ static struct nfs_server *nfs_try_mount_request(struct fs_context *fc)
 	 */
 	if (ctx->auth_info.flavor_len > 0) {
 		status = nfs_verify_authflavors(ctx, authlist, authlist_len);
-		dfprintk(MOUNT, "NFS: using auth flavor %u\n",
-			 ctx->selected_flavor);
 		if (status)
 			return ERR_PTR(status);
 		return ctx->nfs_mod->rpc_ops->create_server(fc);
-- 
2.20.1