Skip to content

Commit

Permalink
staging: wlags49_h2: wl_enc: fixes incorrect use of return
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Meiring authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent f83a7c3 commit 13821d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/wlags49_h2/wl_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int wl_wep_code(char *szCrypt, char *szDest, void *Data, int nLen)
}
}

return(strlen(szDest)) ;
return strlen(szDest);

}
/*============================================================================*/
Expand Down Expand Up @@ -225,7 +225,7 @@ int wl_wep_decode(char *szCrypt, void *Dest, char *szData)

}

return(i) ;
return i;

}
/*============================================================================*/
Expand Down

0 comments on commit 13821d9

Please sign in to comment.