Browse Source

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>
Johan Meiring 12 years ago
parent
commit
13821d96d4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/wlags49_h2/wl_enc.c

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