mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org,
	"Justin P. Mattock" <justinmattock@gmail.com>
Subject: [RFC 11/21]drivers:net Remove extra comma.
Date: Thu, 24 Mar 2011 12:26:49 -0700	[thread overview]
Message-ID: <1300994819-30930-11-git-send-email-justinmattock@gmail.com> (raw)
In-Reply-To: <1300994819-30930-1-git-send-email-justinmattock@gmail.com>

The patch below removes an extra comma from various parts 
of the kernel. Please have a look when you have time, and let
me know if its legit or not.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

---
 drivers/net/can/softing/softing_main.c      |    2 +-
 drivers/net/wireless/ath/ath9k/phy.h        |    2 +-
 drivers/net/wireless/iwlwifi/iwl-agn.c      |    2 +-
 drivers/net/wireless/rtlwifi/core.c         |    2 +-
 drivers/net/wireless/rtlwifi/pci.c          |    2 +-
 drivers/net/wireless/rtlwifi/rtl8192ce/hw.c |    4 ++--
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c
index aeea9f9..8d75953 100644
--- a/drivers/net/can/softing/softing_main.c
+++ b/drivers/net/can/softing/softing_main.c
@@ -797,7 +797,7 @@ static __devinit int softing_pdev_probe(struct platform_device *pdev)
 	ret = -EINVAL;
 	pres = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!pres)
-		goto platform_resource_failed;;
+		goto platform_resource_failed;
 	card->dpram_phys = pres->start;
 	card->dpram_size = pres->end - pres->start + 1;
 	card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size);
diff --git a/drivers/net/wireless/ath/ath9k/phy.h b/drivers/net/wireless/ath/ath9k/phy.h
index 5e3d749..3a7cd75 100644
--- a/drivers/net/wireless/ath/ath9k/phy.h
+++ b/drivers/net/wireless/ath/ath9k/phy.h
@@ -54,7 +54,7 @@
 #define RF_BANK_SETUP(_bank, _iniarray, _col) do {			\
 		int i;							\
 		for (i = 0; i < (_iniarray)->ia_rows; i++)		\
-			(_bank)[i] = INI_RA((_iniarray), i, _col);;	\
+			(_bank)[i] = INI_RA((_iniarray), i, _col);	\
 	} while (0)
 
 #define	AR_PHY_TIMING11_SPUR_FREQ_SD		0x3FF00000
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 581dc9f..31233a3 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -2062,7 +2062,7 @@ static const char *desc_lookup(u32 num)
 	max = ARRAY_SIZE(advanced_lookup) - 1;
 	for (i = 0; i < max; i++) {
 		if (advanced_lookup[i].num == num)
-			break;;
+			break;
 	}
 	return advanced_lookup[i].name;
 }
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c
index e4f4aee..d52fa27 100644
--- a/drivers/net/wireless/rtlwifi/core.c
+++ b/drivers/net/wireless/rtlwifi/core.c
@@ -719,7 +719,7 @@ static void rtl_op_set_tsf(struct ieee80211_hw *hw, u64 tsf)
 {
 	struct rtl_priv *rtlpriv = rtl_priv(hw);
 	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
-	u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;;
+	u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0;
 
 	mac->tsf = tsf;
 	rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_CORRECT_TSF, (u8 *) (&bibss));
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c
index 9cd7703..baa2efe 100644
--- a/drivers/net/wireless/rtlwifi/pci.c
+++ b/drivers/net/wireless/rtlwifi/pci.c
@@ -1226,7 +1226,7 @@ static unsigned int _rtl_mac_to_hwqueue(__le16 fc,
 		hw_queue_index = VI_QUEUE;
 		break;
 	case 2:
-		hw_queue_index = BE_QUEUE;;
+		hw_queue_index = BE_QUEUE;
 		break;
 	case 3:
 		hw_queue_index = BK_QUEUE;
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
index 05477f4..7432c85 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
@@ -729,7 +729,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw)
 	rtl_write_word(rtlpriv, REG_CR, 0x2ff);
 
 	if (_rtl92ce_llt_table_init(hw) == false)
-		return false;;
+		return false;
 
 	rtl_write_dword(rtlpriv, REG_HISR, 0xffffffff);
 	rtl_write_byte(rtlpriv, REG_HISRE, 0xff);
@@ -786,7 +786,7 @@ static bool _rtl92ce_init_mac(struct ieee80211_hw *hw)
 
 	rtl_write_dword(rtlpriv, REG_MCUTST_1, 0x0);
 
-	return true;;
+	return true;
 }
 
 static void _rtl92ce_hw_configure(struct ieee80211_hw *hw)
-- 
1.7.4.1


  parent reply	other threads:[~2011-03-24 19:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24 19:26 [RFC 01/21]arch:arm:mach " Justin P. Mattock
2011-03-24 19:26 ` [RFC 02/21]arch:ia64 " Justin P. Mattock
2011-03-24 19:26 ` [RFC 03/21]arch:um:drivers:mmapper_kern.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 04/21]arch:s390:hypfs:hypfs.h " Justin P. Mattock
2011-03-24 19:26 ` [RFC 05/21]drivers:scsi " Justin P. Mattock
2011-03-24 19:26 ` [RFC 06/21]drivers:leds:leds-mc13783.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 07/21]drivers:xen " Justin P. Mattock
2011-03-25 14:59   ` Konrad Rzeszutek Wilk
2011-03-24 19:26 ` [RFC 08/21]drivers:tty:serial:mrst_max3110.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 09/21]drivers:power:intel_mid_battery.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 10/21]drivers:gpio:langwell_gpio.c " Justin P. Mattock
2011-03-24 19:26 ` Justin P. Mattock [this message]
2011-03-24 19:26 ` [RFC 12/21]drivers:video:mxsfb.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 13/21]drivers:i2c:busses:i2c-designware.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 14/21]drivers:staging " Justin P. Mattock
2011-03-24 23:20   ` Alan Cox
2011-03-24 23:26     ` Justin P. Mattock
2011-03-24 19:26 ` [RFC 15/21]drivers:target " Justin P. Mattock
2011-03-24 19:26 ` [RFC 16/21]fs:logfs " Justin P. Mattock
2011-03-24 19:26 ` [RFC 17/21]kernel:pm_qos_params.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 18/21]mm:hugetlb.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 19/21]net remove " Justin P. Mattock
2011-03-24 19:26 ` [RFC 20/21]security:selinux:selinuxfs.c Remove " Justin P. Mattock
2011-03-24 19:26 ` [RFC 21/21]tools:power:x86:turbostat:turbostat.c " Justin P. Mattock
2011-03-24 20:16 ` [RFC 01/21]arch:arm:mach " Nick Bowler
2011-03-24 20:17   ` Justin P. Mattock

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=1300994819-30930-11-git-send-email-justinmattock@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@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®