From: Woohyung Jeon <w.h.jeon329@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, frank@generalsoftwareinc.com,
dan.carpenter@oracle.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Woohyung Jeon <w.h.jeon329@gmail.com>
Subject: [PATCH] Staging: rtlwifi: pci: fixed coding style issues
Date: Mon, 23 Oct 2017 16:44:24 +0900 [thread overview]
Message-ID: <20171023074424.2142-1-w.h.jeon329@gmail.com> (raw)
Fixed 2 coding style issues.
There was two coding style issues and they were fixed.
c:2233 - unnecessary parenthesis was there, so removed.
c:652 - prohibited space was there, so removed.
Signed-off-by: Woohyung-Jeon <w.h.jeon329@gmail.com>
---
drivers/staging/rtlwifi/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtlwifi/pci.c b/drivers/staging/rtlwifi/pci.c
index 4035b8835bd1..2d4ef25a0606 100644
--- a/drivers/staging/rtlwifi/pci.c
+++ b/drivers/staging/rtlwifi/pci.c
@@ -649,7 +649,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int prio)
prio, ring->idx,
skb_queue_len(&ring->queue));
- ieee80211_wake_queue(hw, skb_get_queue_mapping (skb));
+ ieee80211_wake_queue(hw, skb_get_queue_mapping(skb));
}
tx_status_ok:
skb = NULL;
@@ -2230,7 +2230,7 @@ int rtl_pci_probe(struct pci_dev *pdev,
return err;
}
- if (((struct rtl_hal_cfg *)(id->driver_data))->mod_params->dma64 &&
+ if (((struct rtl_hal_cfg *)id->driver_data)->mod_params->dma64 &&
!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) {
WARN_ONCE(true,
--
2.14.2
next reply other threads:[~2017-10-23 7:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-23 7:44 Woohyung Jeon [this message]
2017-10-23 7:51 ` 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=20171023074424.2142-1-w.h.jeon329@gmail.com \
--to=w.h.jeon329@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=frank@generalsoftwareinc.com \
--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
all inboxes | Powered by JetHome®