staging: wlags49_h2: coding style fix at wl_wds_netif_carrier_off
authorDevendra Naga <develkernel412222@gmail.com>
Sat, 18 Aug 2012 18:54:07 +0000 (00:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 20:15:38 +0000 (13:15 -0700)
no braces needed for single statement if block

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/wl_netdev.c

index 824b85232353348fde02ef97383abbb3af7e92ba..680de2bec0382c7e006e9503324b7cd2d99ea779 100644 (file)
@@ -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 );
-            }
         }
     }