staging: wlags49_h2: wl_enc: fixes incorrect use of return
This commit removes parentheses that were used as part of return statements, seeing as how return is not a function. Signed-off-by: Johan Meiring <johanmeiring@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f83a7c34d4
commit
13821d96d4
|
@ -155,7 +155,7 @@ int wl_wep_code(char *szCrypt, char *szDest, void *Data, int nLen)
|
|||
}
|
||||
}
|
||||
|
||||
return(strlen(szDest)) ;
|
||||
return strlen(szDest);
|
||||
|
||||
}
|
||||
/*============================================================================*/
|
||||
|
@ -225,7 +225,7 @@ int wl_wep_decode(char *szCrypt, void *Dest, char *szData)
|
|||
|
||||
}
|
||||
|
||||
return(i) ;
|
||||
return i;
|
||||
|
||||
}
|
||||
/*============================================================================*/
|
||||
|
|
Loading…
Reference in New Issue