Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755282AbcKNFNt (ORCPT ); Mon, 14 Nov 2016 00:13:49 -0500 Received: from mail-it0-f65.google.com ([209.85.214.65]:34287 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751866AbcKNFNs (ORCPT ); Mon, 14 Nov 2016 00:13:48 -0500 From: Walt Feasel To: arnaud.patard@rtp-net.org Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Walt Feasel Subject: [PATCH] [STYLE 20/20]staging:xgifb:vb_setmode.c Braces single statement Date: Mon, 14 Nov 2016 00:13:39 -0500 Message-Id: <1479100419-16103-1-git-send-email-waltfeasel@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 30 Make suggested modification from checkpatch in reference to WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 8e12ec3..415d193 100644 --- a/drivers/staging/xgifb/vb_setmode.c +++ b/drivers/staging/xgifb/vb_setmode.c @@ -1679,13 +1679,11 @@ static unsigned char XGI_GetVCLKPtr(unsigned short RefreshRateTableIndex, return tempal; } - if (pVBInfo->TVInfo & TVSetYPbPr750p) { + if (pVBInfo->TVInfo & TVSetYPbPr750p) return XGI_YPbPr750pVCLK; - } - if (pVBInfo->TVInfo & TVSetYPbPr525p) { + if (pVBInfo->TVInfo & TVSetYPbPr525p) return YPbPr525pVCLK; - } tempal = NTSC1024VCLK; -- 2.1.4