Commit e31bbfcc authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging: wlags49_h2: coding style fix at wl_wds_netif_carrier_off

no braces needed for single statement if block
Signed-off-by: default avatarDevendra Naga <develkernel412222@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c925aa0
......@@ -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 );
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment