diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-08-19 00:24:07 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 13:15:38 -0700 |
commit | e31bbfcc44b5c8871c6633d0fe40723e4aefb222 (patch) | |
tree | 2ada11d2c800b68a5671ffd2b389e41b18b156ed /drivers/staging/wlags49_h2/wl_netdev.c | |
parent | 0c925aa043640086ff928f45c89274965eace5a9 (diff) |
staging: wlags49_h2: coding style fix at wl_wds_netif_carrier_off
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>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_netdev.c')
-rw-r--r-- | drivers/staging/wlags49_h2/wl_netdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c b/drivers/staging/wlags49_h2/wl_netdev.c index 824b85232353..680de2bec038 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 ); - } } } |