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@xxxxxxxxxx> --- 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