* [PATCH] Staging: xgifb: vb_setmode.c: Remove unnecessary parentheses.
@ 2017-09-05 8:55 Srishti Sharma
0 siblings, 0 replies; only message in thread
From: Srishti Sharma @ 2017-09-05 8:55 UTC (permalink / raw)
To: arnaud.patard; +Cc: gregkh, devel, linux-kernel, Srishti Sharma
Fixed warning produced by checkpatch.pl to remove unecessary parentheses
Signed-off-by: Srishti Sharma <srishtishar@gmail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-05 8:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05 8:55 [PATCH] Staging: xgifb: vb_setmode.c: Remove unnecessary parentheses Srishti Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome