Skip to content

Commit

Permalink
staging: wlags49_h2: coding style fix at wl_wds_netif_carrier_off
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 0c925aa commit e31bbfc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/wlags49_h2/wl_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}
}

Expand Down

0 comments on commit e31bbfc

Please sign in to comment.