[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1504601711-5947-1-git-send-email-srishtishar@gmail.com>
Date: Tue, 5 Sep 2017 14:25:11 +0530
From: Srishti Sharma <srishtishar@...il.com>
To: arnaud.patard@...-net.org
Cc: gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Srishti Sharma <srishtishar@...il.com>
Subject: [PATCH] Staging: xgifb: vb_setmode.c: Remove unnecessary parentheses.
Fixed warning produced by checkpatch.pl to remove unecessary parentheses
Signed-off-by: Srishti Sharma <srishtishar@...il.com>
---
drivers/staging/xgifb/vb_setmode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index cea128b..1594c9a 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -780,7 +780,7 @@ static void XGI_SetCRT1Offset(unsigned short ModeNo,
break;
}
- if ((ModeNo >= 0x26) && (ModeNo <= 0x28))
+ if (ModeNo >= 0x26 && ModeNo <= 0x28)
temp = temp * temp2 + temp2 / 2;
else
temp *= temp2;
--
2.7.4
Powered by blists - more mailing lists