Commit e9097b1c authored by Ben Marsh's avatar Ben Marsh Committed by Greg Kroah-Hartman

Staging: vt6655: remove unnecessary blank lines from card.c

This a patch to card.c to remove unnecessary blank lines in order to
remove a checkpatch.pl warning.
Signed-off-by: default avatarBen Marsh <bmarsh94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dcf8343d
...@@ -443,7 +443,6 @@ bool CARDbRadioPowerOff(struct vnt_private *priv) ...@@ -443,7 +443,6 @@ bool CARDbRadioPowerOff(struct vnt_private *priv)
MACvWordRegBitsOff(priv->PortOffset, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_SWPE2); MACvWordRegBitsOff(priv->PortOffset, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_SWPE2);
MACvWordRegBitsOff(priv->PortOffset, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_SWPE3); MACvWordRegBitsOff(priv->PortOffset, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_SWPE3);
break; break;
} }
MACvRegBitsOff(priv->PortOffset, MAC_REG_HOSTCR, HOSTCR_RXON); MACvRegBitsOff(priv->PortOffset, MAC_REG_HOSTCR, HOSTCR_RXON);
...@@ -499,7 +498,6 @@ bool CARDbRadioPowerOn(struct vnt_private *priv) ...@@ -499,7 +498,6 @@ bool CARDbRadioPowerOn(struct vnt_private *priv)
MACvWordRegBitsOn(priv->PortOffset, MAC_REG_SOFTPWRCTL, (SOFTPWRCTL_SWPE2 | MACvWordRegBitsOn(priv->PortOffset, MAC_REG_SOFTPWRCTL, (SOFTPWRCTL_SWPE2 |
SOFTPWRCTL_SWPE3)); SOFTPWRCTL_SWPE3));
break; break;
} }
priv->bRadioOff = false; priv->bRadioOff = false;
...@@ -812,7 +810,6 @@ bool CARDbIsOFDMinBasicRate(struct vnt_private *priv) ...@@ -812,7 +810,6 @@ bool CARDbIsOFDMinBasicRate(struct vnt_private *priv)
unsigned char CARDbyGetPktType(struct vnt_private *priv) unsigned char CARDbyGetPktType(struct vnt_private *priv)
{ {
if (priv->byBBType == BB_TYPE_11A || priv->byBBType == BB_TYPE_11B) if (priv->byBBType == BB_TYPE_11A || priv->byBBType == BB_TYPE_11B)
return (unsigned char)priv->byBBType; return (unsigned char)priv->byBBType;
else if (CARDbIsOFDMinBasicRate((void *)priv)) else if (CARDbIsOFDMinBasicRate((void *)priv))
...@@ -861,7 +858,6 @@ void CARDvSetLoopbackMode(struct vnt_private *priv, unsigned short wLoopbackMode ...@@ -861,7 +858,6 @@ void CARDvSetLoopbackMode(struct vnt_private *priv, unsigned short wLoopbackMode
*/ */
bool CARDbSoftwareReset(struct vnt_private *priv) bool CARDbSoftwareReset(struct vnt_private *priv)
{ {
/* reset MAC */ /* reset MAC */
if (!MACbSafeSoftwareReset(priv)) if (!MACbSafeSoftwareReset(priv))
return false; return false;
......
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