wil6210: checkpatch warnings
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 28 Jan 2013 16:31:07 +0000 (18:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jan 2013 20:07:18 +0000 (15:07 -0500)
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/netdev.c
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/ath/wil6210/wmi.c

index 4b48f2ee1b683b0a8b317eb65232661e93e0d7bb..002851fceb2f9072a4498e623e64a8f755f014ee 100644 (file)
@@ -204,7 +204,6 @@ static int wil_cfg80211_scan(struct wiphy *wiphy,
                break;
        default:
                return -EOPNOTSUPP;
-
        }
 
        /* FW don't support scan after connection attempt */
index 865c33f1b1ce5d2b92e7a1966b817a3b084332a1..dc97e7b2609cb84c00d8954ba067aab60b2b5a0a 100644 (file)
@@ -52,7 +52,6 @@
 
 static inline void wil_icr_clear(u32 x, void __iomem *addr)
 {
-
 }
 #else /* defined(CONFIG_WIL6210_ISR_COR) */
 /* configure to Write-1-to-Clear mode */
index d160ea84e76a0f2a2836b759120c5431c821d49f..761c389586d4cef581b1239d58f3e313e9f9e49a 100644 (file)
@@ -80,7 +80,7 @@ static void _wil6210_disconnect(struct wil6210_priv *wil, void *bssid)
                                        GFP_KERNEL);
                break;
        default:
-               ;
+               break;
        }
 
        for (i = 0; i < ARRAY_SIZE(wil->vring_tx); i++)
@@ -357,7 +357,7 @@ static int __wil_up(struct wil6210_priv *wil)
                        wmi_set_channel(wil, channel->hw_value);
                break;
        default:
-               ;
+               break;
        }
 
        /* MAC address - pre-requisite for other commands */
index 073dc7d39259c01dac065212062eea514f7e037d..8ce2e33dce206065aaa5e5cee9ce3e4c3db3163a 100644 (file)
@@ -39,8 +39,8 @@ static const struct net_device_ops wil_netdev_ops = {
        .ndo_open               = wil_open,
        .ndo_stop               = wil_stop,
        .ndo_start_xmit         = wil_start_xmit,
-       .ndo_set_mac_address    = eth_mac_addr,
-       .ndo_validate_addr      = eth_validate_addr,
+       .ndo_set_mac_address    = eth_mac_addr,
+       .ndo_validate_addr      = eth_validate_addr,
 };
 
 void *wil_if_alloc(struct device *dev, void __iomem *csr)
index f0d091313805ba91a8a1dec6e9e48a3944a2f7d3..48cfa7e13781a54709d30c216b9c8e627048e7dc 100644 (file)
@@ -758,8 +758,7 @@ netdev_tx_t wil_start_xmit(struct sk_buff *skb, struct net_device *ndev)
        case -ENOMEM:
                return NETDEV_TX_BUSY;
        default:
-               ; /* goto drop; */
-               break;
+               break; /* goto drop; */
        }
  drop:
        netif_tx_stop_all_queues(ndev);
index 91f41a71d24330d4c0cf2308405c0d962c4d38d8..8178cc0ce650f5c62b663ca038270cc20586db3f 100644 (file)
@@ -188,7 +188,6 @@ static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, void *buf, u16 len)
                wil_err(wil, "WMI size too large: %d bytes, max is %d\n",
                        (int)(sizeof(cmd) + len), r->entry_size);
                return -ERANGE;
-
        }
 
        might_sleep();