diff options
author | Johan Meiring <johanmeiring@gmail.com> | 2012-11-30 18:58:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 11:03:32 -0800 |
commit | 13821d96d47098067df59d565f3b98c7694317f5 (patch) | |
tree | 719cff023cd9de2fc45e5983054b5cfa1cae43f3 | |
parent | f83a7c34d4e57a5afddd94adf39c26f2a09677e1 (diff) | |
download | op-kernel-dev-13821d96d47098067df59d565f3b98c7694317f5.zip op-kernel-dev-13821d96d47098067df59d565f3b98c7694317f5.tar.gz |
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>
-rw-r--r-- | drivers/staging/wlags49_h2/wl_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlags49_h2/wl_enc.c b/drivers/staging/wlags49_h2/wl_enc.c index 2cf3a113..51293d9 100644 --- a/drivers/staging/wlags49_h2/wl_enc.c +++ b/drivers/staging/wlags49_h2/wl_enc.c @@ -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; } /*============================================================================*/ |