mirror of https://gitee.com/openkylin/linux.git
Staging: vt6655: tether: fixed a brace coding style issue
Fixed a coding style issue. Signed-off-by: Nicolas Del Piano <ndel314@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a99698facd
commit
91ed9a7cdd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue