Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752193AbdL0PUT (ORCPT ); Wed, 27 Dec 2017 10:20:19 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:61245 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbdL0PUP (ORCPT ); Wed, 27 Dec 2017 10:20:15 -0500 X-IronPort-AV: E=Sophos;i="5.45,466,1508796000"; d="scan'208";a="249567222" From: Julia Lawall To: Christine Caulfield Cc: kernel-janitors@vger.kernel.org, David Teigland , cluster-devel@redhat.com, linux-kernel@vger.kernel.org Subject: [PATCH 02/12] dlm: drop unneeded newline Date: Wed, 27 Dec 2017 15:51:35 +0100 Message-Id: <1514386305-7402-3-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1514386305-7402-1-git-send-email-Julia.Lawall@lip6.fr> References: <1514386305-7402-1-git-send-email-Julia.Lawall@lip6.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 27 log_print prints a newline at the end of the message string, so the message string does not need to include a newline explicitly. Done using Coccinelle. The two strings were additionally merged into one, for easier grepping. Signed-off-by: Julia Lawall --- fs/dlm/plock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c index a4c63e9..ee84584 100644 --- a/fs/dlm/plock.c +++ b/fs/dlm/plock.c @@ -231,8 +231,7 @@ static int dlm_plock_callback(struct plock_op *op) rv = notify(fl, 0); if (rv) { /* XXX: We need to cancel the fs lock here: */ - log_print("dlm_plock_callback: lock granted after lock request " - "failed; dangling lock!\n"); + log_print("dlm_plock_callback: lock granted after lock request failed; dangling lock!"); goto out; }