Skip to contentSkip to conversation

Staging: rtlwifi: pci: fixed coding style issues

PATCH In review Woohyung Jeon 2 participants 2 messages Oct 23, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtlwifi: pci: fixed coding style issues

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.

---
 drivers/staging/rtlwifi/pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtlwifi/pci.c +2 -2
index 4035b8835bd1..2d4ef25a0606 100644
@@ -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,
Signature · 1 line
2.14.2
maintainer
#1 lore raw
Quoted 5 lines · Woohyung Jeon

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.

That's two different things, please send two different patches as part of a series of patches.

thanks,

greg k-h