From: Srishti Sharma <srishtishar@gmail.com>
To: arnaud.patard@rtp-net.org
Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Srishti Sharma <srishtishar@gmail.com>
Subject: [PATCH] Staging: xgifb: vb_setmode.c: Remove unnecessary parentheses.
Date: Tue, 5 Sep 2017 14:25:11 +0530 [thread overview]
Message-ID: <1504601711-5947-1-git-send-email-srishtishar@gmail.com> (raw)
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
reply other threads:[~2017-09-05 8:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1504601711-5947-1-git-send-email-srishtishar@gmail.com \
--to=srishtishar@gmail.com \
--cc=arnaud.patard@rtp-net.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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