Fix the following checkpatch.pl issues in wl_netdev.c:
ERROR: else should follow close brace '}'

Signed-off-by: Jelena Bjelja <jelena.bjelja....@gmail.com>
---
 drivers/staging/wlags49_h2/wl_netdev.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/wlags49_h2/wl_netdev.c 
b/drivers/staging/wlags49_h2/wl_netdev.c
index 0a5b2b3..d79a166 100644
--- a/drivers/staging/wlags49_h2/wl_netdev.c
+++ b/drivers/staging/wlags49_h2/wl_netdev.c
@@ -797,8 +797,7 @@ int wl_tx(struct sk_buff *skb, struct net_device *dev, int 
port)
 #ifdef ENABLE_DMA
        if (lp->use_dma) {
                wl_send_dma(lp, skb, port);
-       }
-       else
+       } else
 #endif
        {
                wl_send(lp);
@@ -1023,8 +1022,7 @@ void wl_multicast(struct net_device *dev)
                                lp->ltvRecord.u.u16[0]  = CNV_INT_TO_LITTLE(1);
                                DBG_PRINT("Enabling Promiscuous mode 
(IFF_PROMISC)\n");
                                hcf_put_info(&(lp->hcfCtx), 
(LTVP)&(lp->ltvRecord));
-                       }
-                       else if ((netdev_mc_count(dev) > HCF_MAX_MULTICAST) ||
+                       } else if ((netdev_mc_count(dev) > HCF_MAX_MULTICAST) ||
                                (dev->flags & IFF_ALLMULTI)) {
                        /* Shutting off this filter will enable all multicast 
frames to
                        be sent up from the device; however, this is a static 
RID, so
@@ -1035,8 +1033,7 @@ void wl_multicast(struct net_device *dev)
                                DBG_PRINT("Enabling all multicast mode 
(IFF_ALLMULTI)\n");
                                hcf_put_info(&(lp->hcfCtx), 
(LTVP)&(lp->ltvRecord));
                                wl_apply(lp);
-                       }
-                       else if (!netdev_mc_empty(dev)) {
+                       } else if (!netdev_mc_empty(dev)) {
                        /* Set the multicast addresses */
                                lp->ltvRecord.len = (netdev_mc_count(dev) * 3) 
+ 1;
                                lp->ltvRecord.typ = CFG_GROUP_ADDR;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to