Commit 6e0afa35 authored by Cristiane Naves's avatar Cristiane Naves Committed by Greg Kroah-Hartman

staging: vt6655: Fix lines ending with parentheses

Fix lines ending with parentheses. Issue found by checkpatch.
Signed-off-by: default avatarCristiane Naves <cristianenavescardoso09@gmail.com>
Link: https://lore.kernel.org/r/20191029210917.GA14956@cristiane-Inspiron-5420Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 600bf7ae
...@@ -79,14 +79,10 @@ static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type, ...@@ -79,14 +79,10 @@ static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type,
* *
* Return Value: none * Return Value: none
*/ */
static static void s_vCalculateOFDMRParameter(unsigned char byRate,
void u8 bb_type,
s_vCalculateOFDMRParameter( unsigned char *pbyTxRate,
unsigned char byRate, unsigned char *pbyRsvTime)
u8 bb_type,
unsigned char *pbyTxRate,
unsigned char *pbyRsvTime
)
{ {
switch (byRate) { switch (byRate) {
case RATE_6M: case RATE_6M:
...@@ -736,8 +732,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) ...@@ -736,8 +732,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_24, VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_24,
MAKEWORD(byTxRate, byRsvTime)); MAKEWORD(byTxRate, byRsvTime));
/* RSPINF_a_36 */ /* RSPINF_a_36 */
s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate( s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
(void *)priv,
RATE_36M), RATE_36M),
bb_type, bb_type,
&byTxRate, &byTxRate,
...@@ -745,8 +740,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) ...@@ -745,8 +740,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_36, VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_36,
MAKEWORD(byTxRate, byRsvTime)); MAKEWORD(byTxRate, byRsvTime));
/* RSPINF_a_48 */ /* RSPINF_a_48 */
s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate( s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
(void *)priv,
RATE_48M), RATE_48M),
bb_type, bb_type,
&byTxRate, &byTxRate,
...@@ -754,8 +748,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) ...@@ -754,8 +748,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_48, VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_48,
MAKEWORD(byTxRate, byRsvTime)); MAKEWORD(byTxRate, byRsvTime));
/* RSPINF_a_54 */ /* RSPINF_a_54 */
s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate( s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
(void *)priv,
RATE_54M), RATE_54M),
bb_type, bb_type,
&byTxRate, &byTxRate,
...@@ -763,8 +756,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) ...@@ -763,8 +756,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_54, VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_54,
MAKEWORD(byTxRate, byRsvTime)); MAKEWORD(byTxRate, byRsvTime));
/* RSPINF_a_72 */ /* RSPINF_a_72 */
s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate( s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
(void *)priv,
RATE_54M), RATE_54M),
bb_type, bb_type,
&byTxRate, &byTxRate,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment