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

staging: wlagn49_h2: fix the checkpatch warning about the space after the open paranthesis

the following fix is done in the wl_wds_netif_carrier_off function:

wl_netdev.c:1764: ERROR: space prohibited after that open parenthesis '('
wl_netdev.c:1764: ERROR: space prohibited before that close parenthesis ')'
wl_netdev.c:1768: ERROR: space prohibited after that open parenthesis '('
wl_netdev.c:1768: ERROR: space prohibited before that close parenthesis ')'
wl_netdev.c:1768: ERROR: space required before the open parenthesis '('
wl_netdev.c:1769: ERROR: space prohibited after that open parenthesis '('
wl_netdev.c:1769: ERROR: space prohibited before that close parenthesis ')'
wl_netdev.c:1769: ERROR: space required before the open parenthesis '('
wl_netdev.c:1770: ERROR: space prohibited after that open parenthesis '('
wl_netdev.c:1770: ERROR: space prohibited before that close parenthesis ')'
wl_netdev.c:1770: ERROR: space required before the open parenthesis '('
wl_netdev.c:1771: ERROR: space prohibited after that open parenthesis '('
wl_netdev.c:1771: ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: default avatarDevendra Naga <develkernel412222@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a350d1fd
...@@ -1765,10 +1765,10 @@ void wl_wds_netif_carrier_off( struct wl_private *lp ) ...@@ -1765,10 +1765,10 @@ void wl_wds_netif_carrier_off( struct wl_private *lp )
{ {
int count; int count;
if( lp != NULL ) { if(lp != NULL) {
for( count = 0; count < NUM_WDS_PORTS; count++ ) { 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 ); 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