Commit 78395f672a3befb69e0c0e2d9672ddddce465095
Committed by
Greg Kroah-Hartman
1 parent
cc4f65bfbf
Exists in
master
and in
4 other branches
staging: ft1000: Fix coding style in hdr_checksum() function.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff
drivers/staging/ft1000/ft1000-usb/ft1000_download.c
... | ... | @@ -468,14 +468,14 @@ |
468 | 468 | //--------------------------------------------------------------------------- |
469 | 469 | static u16 hdr_checksum(struct pseudo_hdr *pHdr) |
470 | 470 | { |
471 | - u16 *usPtr = (u16 *)pHdr; | |
472 | - u16 chksum; | |
471 | + u16 *usPtr = (u16 *)pHdr; | |
472 | + u16 chksum; | |
473 | 473 | |
474 | 474 | |
475 | - chksum = ((((((usPtr[0] ^ usPtr[1]) ^ usPtr[2]) ^ usPtr[3]) ^ | |
476 | - usPtr[4]) ^ usPtr[5]) ^ usPtr[6]); | |
475 | + chksum = ((((((usPtr[0] ^ usPtr[1]) ^ usPtr[2]) ^ usPtr[3]) ^ | |
476 | + usPtr[4]) ^ usPtr[5]) ^ usPtr[6]); | |
477 | 477 | |
478 | - return chksum; | |
478 | + return chksum; | |
479 | 479 | } |
480 | 480 | |
481 | 481 |