From: Pushpendra Singh <pushpendra.singh@smartplayin.com>
To: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
marek.belisko@gmail.com, gregkh@linuxfoundation.org
Cc: Pushpendra Singh <pushpendra.singh@smartplayin.com>
Subject: [PATCH v2 3/7] staging: ft1000: ft1000-pcmcia: remove unnecessary parentheses
Date: Mon, 9 Feb 2015 12:42:00 +0530 [thread overview]
Message-ID: <1423465924-22424-3-git-send-email-pushpendra.singh@smartplayin.com> (raw)
In-Reply-To: <1423465924-22424-1-git-send-email-pushpendra.singh@smartplayin.com>
Remove checkpatch.pl warning
WARNING: Unnecessary parentheses
+ if ((tempword != *ppseudohdr)) {
Signed-off-by: Pushpendra Singh <pushpendra.singh@smartplayin.com>
---
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
index 9d0fd6c..26659d0 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
@@ -911,7 +911,7 @@ static bool ft1000_receive_cmd(struct net_device *dev, u16 *pbuffer,
tempword = *ppseudohdr++;
for (i = 1; i < 7; i++)
tempword ^= *ppseudohdr++;
- if ((tempword != *ppseudohdr)) {
+ if (tempword != *ppseudohdr) {
pr_debug("Pseudo header checksum mismatch\n");
/* Drop this message */
return false;
--
1.9.1
next prev parent reply other threads:[~2015-02-09 7:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 7:11 [PATCH v2 1/7] staging: ft1000: ft1000-pcmcia: removed unnecessary braces Pushpendra Singh
2015-02-09 7:11 ` [PATCH v2 2/7] staging: ft1000: ft1000-pcmcia: add blank line after declarations Pushpendra Singh
2015-02-09 7:12 ` Pushpendra Singh [this message]
2015-02-09 7:12 ` [PATCH v2 4/7] staging: ft1000: ft1000-usb: remove unnecessary parentheses Pushpendra Singh
2015-02-09 7:12 ` [PATCH v2 5/7] staging: ft1000: ft1000-usb: removed unnecessary braces Pushpendra Singh
2015-02-09 7:12 ` [PATCH v2 6/7] staging: ft1000: ft1000-usb: remove conditional statement Pushpendra Singh
2015-02-09 7:12 ` [PATCH v2 7/7] staging: ft1000: ft1000-usb: remove unnecessary out of memory warning Pushpendra Singh
2015-03-07 0:30 ` [PATCH v2 1/7] staging: ft1000: ft1000-pcmcia: removed unnecessary braces Greg KH
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=1423465924-22424-3-git-send-email-pushpendra.singh@smartplayin.com \
--to=pushpendra.singh@smartplayin.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marek.belisko@gmail.com \
/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
all inboxes | Powered by JetHome®