2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00

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>
This commit is contained in:
Devendra Naga 2012-08-19 00:24:07 +05:30 committed by Greg Kroah-Hartman
parent 0c925aa043
commit e31bbfcc44

View 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 );
}
}
}