[PATCH 1/6] staging: wlags49_h2: coding style fix at wl_wds_netif_carrier_off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



no braces needed for single statement if block

Signed-off-by: Devendra Naga <develkernel412222@xxxxxxxxx>
---
 drivers/staging/wlags49_h2/wl_netdev.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wlags49_h2/wl_netdev.c
index 824b852..680de2b 100644
--- a/drivers/staging/wlags49_h2/wl_netdev.c
+++ b/drivers/staging/wlags49_h2/wl_netdev.c
@@ -1768,9 +1768,8 @@ void wl_wds_netif_carrier_off( struct wl_private *lp )
 
     if( lp != NULL ) {
         for( count = 0; count < NUM_WDS_PORTS; count++ ) {
-            if( lp->wds_port[count].is_registered ) {
+            if( lp->wds_port[count].is_registered )
                 netif_carrier_off( lp->wds_port[count].dev );
-            }
         }
     }
 
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux