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:
Родитель
45e68e45d3
Коммит
4188e5862f
|
@ -689,9 +689,8 @@ void MACvSetCurrAC0DescAddrEx(void __iomem *dwIoBase,
|
|||
if (!(byData & DMACTL_RUN))
|
||||
break;
|
||||
}
|
||||
if (ww == W_MAX_TIMEOUT) {
|
||||
if (ww == W_MAX_TIMEOUT)
|
||||
pr_debug(" DBG_PORT80(0x26)\n");
|
||||
}
|
||||
VNSvOutPortD(dwIoBase + MAC_REG_AC0DMAPTR, dwCurrDescAddr);
|
||||
if (byOrgDMACtl & DMACTL_RUN)
|
||||
VNSvOutPortB(dwIoBase + MAC_REG_AC0DMACTL, DMACTL_RUN);
|
||||
|
|
Загрузка…
Ссылка в новой задаче