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-Tag: firefly_0821_release~176^2~3465^2~39^2~918 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=91ed9a7cddf1130af3a3aef0325d6e6d08eaffb2;p=firefly-linux-kernel-4.4.55.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; }