From: Johan Meiring Date: Fri, 30 Nov 2012 16:58:35 +0000 (+0200) Subject: staging: wlags49_h2: wl_enc: fixes incorrect use of return X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=13821d96d47098067df59d565f3b98c7694317f5;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlags49_h2/wl_enc.c b/drivers/staging/wlags49_h2/wl_enc.c index 2cf3a113d238..51293d9f2be9 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; } /*============================================================================*/