diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:56:05 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:56:05 +0200 |
commit | b9365a26a1030ce13f2c5bb3619d721750b9e409 (patch) | |
tree | 938aaf2f2ccafd1c49c8459241c5112b387a2060 /common | |
parent | 87a5c73d66beee8cc4d3b179114da89bf8e09791 (diff) | |
download | u-boot-imx-b9365a26a1030ce13f2c5bb3619d721750b9e409.zip u-boot-imx-b9365a26a1030ce13f2c5bb3619d721750b9e409.tar.gz u-boot-imx-b9365a26a1030ce13f2c5bb3619d721750b9e409.tar.bz2 |
Code cleanup
Diffstat (limited to 'common')
-rw-r--r-- | common/crc16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/crc16.c b/common/crc16.c index 3cef106..6904365 100644 --- a/common/crc16.c +++ b/common/crc16.c @@ -101,7 +101,7 @@ cyg_crc16(unsigned char *buf, int len) cksum = 0; for (i = 0; i < len; i++) { - cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8); + cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8); } return cksum; } |