Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753737AbbG0NxR (ORCPT ); Mon, 27 Jul 2015 09:53:17 -0400 Received: from blu004-omc1s12.hotmail.com ([65.55.116.23]:64185 "EHLO BLU004-OMC1S12.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbbG0NxP (ORCPT ); Mon, 27 Jul 2015 09:53:15 -0400 X-TMN: [Cb1GU9wwQlZ5OPlZjsYupijKdKgMtBf7] X-Originating-Email: [incarnation.p.lee@outlook.com] Message-ID: From: "Incarnation P. Lee" To: oleg.drokin@intel.com, andreas.dilger@intel.com, gregkh@linuxfoundation.org, Julia.Lawall@lip6.fr CC: HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, "Pan Li" Subject: [PATCH 5/5] staging: lustre: Remove unnecessary braces {} for single statement blocks Date: Mon, 27 Jul 2015 13:52:48 +0800 X-Mailer: git-send-email 1.9.0 In-Reply-To: References: X-OriginalArrivalTime: 27 Jul 2015 13:53:13.0398 (UTC) FILETIME=[949EE560:01D0C873] MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 32 From: "Pan Li" Remove unnecessary braces {} for single line statement blocks. Signed-off-by: Pan Li --- drivers/staging/lustre/lustre/obdclass/cl_page.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustre/lustre/obdclass/cl_page.c index 1f6ca7c..0f34171 100644 --- a/drivers/staging/lustre/lustre/obdclass/cl_page.c +++ b/drivers/staging/lustre/lustre/obdclass/cl_page.c @@ -376,9 +376,8 @@ static struct cl_page *cl_page_find0(const struct lu_env *env, idx) == page)); } - if (page != NULL) { + if (page != NULL) return page; - } /* allocate and initialize cl_page */ page = cl_page_alloc(env, o, idx, vmpage, type); -- 1.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/