From: Nicolas Del Piano Date: Fri, 25 Apr 2014 17:36:56 +0000 (-0300) Subject: Staging: vt6655: tether: fixed a brace coding style issue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=91ed9a7cddf1130af3a3aef0325d6e6d08eaffb2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Staging: vt6655: tether: fixed a brace coding style issue Fixed a coding style issue. Signed-off-by: Nicolas Del Piano Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/tether.c b/drivers/staging/vt6655/tether.c index a5dc3c09cfd7..1e7d3e2115a9 100644 --- a/drivers/staging/vt6655/tether.c +++ b/drivers/staging/vt6655/tether.c @@ -98,8 +98,8 @@ bool ETHbIsBufferCrc32Ok(unsigned char *pbyBuffer, unsigned int cbFrameLength) unsigned long dwCRC; dwCRC = CRCdwGetCrc32(pbyBuffer, cbFrameLength - 4); - if (cpu_to_le32(*((unsigned long *)(pbyBuffer + cbFrameLength - 4))) != dwCRC) { + if (cpu_to_le32(*((unsigned long *)(pbyBuffer + cbFrameLength - 4))) != dwCRC) return false; - } + return true; }