OSDN Git Service

staging: wilc1000: remove unnecessary blank line between variable declaration
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 18 Jul 2018 22:45:10 +0000 (04:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 07:04:47 +0000 (09:04 +0200)
Cleanup patch to remove the unnecessary blank line between variables
declaration inside the function.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index bd09611..14405bf 100644 (file)
@@ -147,7 +147,6 @@ static netdev_tx_t wilc_wfi_mon_xmit(struct sk_buff *skb,
 {
        u32 rtap_len, ret = 0;
        struct wilc_wfi_mon_priv  *mon_priv;
-
        struct sk_buff *skb2;
        struct wilc_wfi_radiotap_cb_hdr *cb_hdr;
 
index 84d3145..8f77435 100644 (file)
@@ -780,7 +780,6 @@ static int mac_init_fn(struct net_device *ndev)
 static int wilc_mac_open(struct net_device *ndev)
 {
        struct wilc_vif *vif;
-
        unsigned char mac_add[ETH_ALEN] = {0};
        int ret = 0;
        int i = 0;
index ebe7adc..43003d8 100644 (file)
@@ -1250,7 +1250,6 @@ static int del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
 {
        u32 i;
        s32 ret = 0;
-
        struct wilc_priv *priv = wiphy_priv(wiphy);
 
        for (i = 0; i < priv->pmkid_list.numpmkid; i++) {
@@ -1315,7 +1314,6 @@ static inline void wilc_wfi_cfg_parse_ch_attr(u8 *buf, u8 ch_list_attr_idx,
 static void wilc_wfi_cfg_parse_rx_action(u8 *buf, u32 len)
 {
        u32 index = 0;
-
        u8 op_channel_attr_index = 0;
        u8 channel_list_attr_index = 0;
 
@@ -1338,7 +1336,6 @@ static void wilc_wfi_cfg_parse_tx_action(u8 *buf, u32 len, bool oper_ch,
                                         u8 iftype)
 {
        u32 index = 0;
-
        u8 op_channel_attr_index = 0;
        u8 channel_list_attr_index = 0;
 
@@ -2261,7 +2258,6 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net,
 int wilc_init_host_int(struct net_device *net)
 {
        int ret = 0;
-
        struct wilc_priv *priv;
 
        priv = wdev_priv(net->ieee80211_ptr);