mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 07:30:16 +00:00
Staging: vt6655: mac: Remove extra braces
Remove braces from an if block as it comprises of a single statement. Fix checkpatch warning: braces {} are not necessary for single statement blocks Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
45e68e45d3
commit
4188e5862f
@ -689,9 +689,8 @@ void MACvSetCurrAC0DescAddrEx(void __iomem *dwIoBase,
|
|||||||
if (!(byData & DMACTL_RUN))
|
if (!(byData & DMACTL_RUN))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (ww == W_MAX_TIMEOUT) {
|
if (ww == W_MAX_TIMEOUT)
|
||||||
pr_debug(" DBG_PORT80(0x26)\n");
|
pr_debug(" DBG_PORT80(0x26)\n");
|
||||||
}
|
|
||||||
VNSvOutPortD(dwIoBase + MAC_REG_AC0DMAPTR, dwCurrDescAddr);
|
VNSvOutPortD(dwIoBase + MAC_REG_AC0DMAPTR, dwCurrDescAddr);
|
||||||
if (byOrgDMACtl & DMACTL_RUN)
|
if (byOrgDMACtl & DMACTL_RUN)
|
||||||
VNSvOutPortB(dwIoBase + MAC_REG_AC0DMACTL, DMACTL_RUN);
|
VNSvOutPortB(dwIoBase + MAC_REG_AC0DMACTL, DMACTL_RUN);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user