mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hanyu001@208suo.com
To: pkshih@realtek.com, kvalo@kernel.org
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] rtlwifi: rtl8192ee: phy Remove unnecessary spaces
Date: Wed, 19 Jul 2023 17:43:02 +0800	[thread overview]
Message-ID: <1fa527d26c2f9535bca96bc39d3d40d5@208suo.com> (raw)
In-Reply-To: <tencent_413C0292C42299E2632862909F6D4407C406@qq.com>

Fix checkpatch warnings:

./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:742: ERROR: space 
prohibited before that ',' (ctx:WxW)
./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:766: ERROR: space 
prohibited before that ',' (ctx:WxW)
./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:766: ERROR: space 
prohibited before that ',' (ctx:WxW)
./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:771: ERROR: space 
prohibited before that ',' (ctx:WxW)
./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:771: ERROR: space 
prohibited before that ',' (ctx:WxW)
./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:927: ERROR: space 
prohibited before that ',' (ctx:WxW)
./drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c:974: ERROR: space 
prohibited before that ',' (ctx:WxW)

Signed-off-by: 	Yu Han <hanyu001@208suo.com>
---
  drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 
b/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
index cc0bcaf..d4b6131 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
@@ -739,7 +739,7 @@ static bool phy_config_bb_with_hdr_file(struct 
ieee80211_hw *hw,
                  if (i >= len - 2)
                      break;

-                if (!_check_condition(hw , array[i])) {
+                if (!_check_condition(hw, array[i])) {
                      /*Discard the following pairs*/
                      READ_NEXT_PAIR(v1, v2, i);
                      while (v2 != 0xDEAD &&
@@ -763,12 +763,12 @@ static bool phy_config_bb_with_hdr_file(struct 
ieee80211_hw *hw,
                                    MASKDWORD,
                                    array[i + 1]);
                          udelay(1);
-                        READ_NEXT_PAIR(v1 , v2 , i);
+                        READ_NEXT_PAIR(v1, v2, i);
                      }

                      while (v2 != 0xDEAD &&
                             i < len - 2) {
-                        READ_NEXT_PAIR(v1 , v2 , i);
+                        READ_NEXT_PAIR(v1, v2, i);
                      }
                  }
              }
@@ -924,7 +924,7 @@ bool rtl92ee_phy_config_rf_with_headerfile(struct 
ieee80211_hw  *hw,
                  if (i >= len - 2)
                      break;

-                if (!_check_condition(hw , array[i])) {
+                if (!_check_condition(hw, array[i])) {
                      /*Discard the following pairs*/
                      READ_NEXT_RF_PAIR(v1, v2, i);
                      while (v2 != 0xDEAD &&
@@ -971,7 +971,7 @@ bool rtl92ee_phy_config_rf_with_headerfile(struct 
ieee80211_hw  *hw,
                  if (i >= len - 2)
                      break;

-                if (!_check_condition(hw , array[i])) {
+                if (!_check_condition(hw, array[i])) {
                      /*Discard the following pairs*/
                      READ_NEXT_RF_PAIR(v1, v2, i);
                      while (v2 != 0xDEAD &&

       reply	other threads:[~2023-07-19 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_413C0292C42299E2632862909F6D4407C406@qq.com>
2023-07-19  9:43 ` hanyu001 [this message]
2023-07-20  0:07   ` Ping-Ke Shih

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=1fa527d26c2f9535bca96bc39d3d40d5@208suo.com \
    --to=hanyu001@208suo.com \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.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

Powered by JetHome