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:
Johan Meiring 2012-11-30 18:58:35 +02:00 committed by Greg Kroah-Hartman
parent f83a7c34d4
commit 13821d96d4
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
/*============================================================================*/