提交 13821d96 编写于 作者: J Johan Meiring 提交者: Greg Kroah-Hartman

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: NJohan Meiring <johanmeiring@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f83a7c34
......@@ -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;
}
/*============================================================================*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册