aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2/wl_netdev.c
diff options
context:
space:
mode:
authorDevendra Naga <develkernel412222@gmail.com>2012-08-19 00:24:09 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-04 13:15:38 -0700
commita350d1fdfb6ed326493fe7e024acd8f65f7437c4 (patch)
tree7de821a5c7fa4339ccbb55f43d6bb2ba358074a3 /drivers/staging/wlags49_h2/wl_netdev.c
parentstaging: wlags49_h2: remove unneded return in wl_wds_netif_carrier_off (diff)
downloadlinux-dev-a350d1fdfb6ed326493fe7e024acd8f65f7437c4.tar.xz
linux-dev-a350d1fdfb6ed326493fe7e024acd8f65f7437c4.zip
staging: wlags49_h2: style fix in w1_wds_netif_carrier_off
whitespaces at beginning of the line are removed and are replaced with the tabs Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_netdev.c')
-rw-r--r--drivers/staging/wlags49_h2/wl_netdev.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wlags49_h2/wl_netdev.c
index 207933efc981..2259a5fb6183 100644
--- a/drivers/staging/wlags49_h2/wl_netdev.c
+++ b/drivers/staging/wlags49_h2/wl_netdev.c
@@ -1763,15 +1763,14 @@ void wl_wds_netif_carrier_on( struct wl_private *lp )
******************************************************************************/
void wl_wds_netif_carrier_off( struct wl_private *lp )
{
- int count;
- /*------------------------------------------------------------------------*/
+ int count;
- if( lp != NULL ) {
- for( count = 0; count < NUM_WDS_PORTS; count++ ) {
- if( lp->wds_port[count].is_registered )
- netif_carrier_off( lp->wds_port[count].dev );
- }
- }
+ if( lp != NULL ) {
+ for( count = 0; count < NUM_WDS_PORTS; count++ ) {
+ if( lp->wds_port[count].is_registered )
+ netif_carrier_off( lp->wds_port[count].dev );
+ }
+ }
} // wl_wds_netif_carrier_off
/*============================================================================*/