From: Shivani Bhardwaj Date: Mon, 12 Oct 2015 17:44:15 +0000 (+0530) Subject: Staging: vt6655: mac: Remove extra braces X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4188e5862f40cb64256127b1ef7acfcc17e5467f;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/mac.c b/drivers/staging/vt6655/mac.c index 3dfd333475c0..688c3be168d1 100644 --- a/drivers/staging/vt6655/mac.c +++ b/drivers/staging/vt6655/mac.c @@ -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);