mirror of https://gitee.com/openkylin/linux.git
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: Ben Marsh <bmarsh94@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dcf8343d54
commit
e9097b1c3f
|
@ -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)
|
||||||
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)
|
||||||
|
|
||||||
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
|
||||||
*/
|
*/
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue