commit | b9365a26a1030ce13f2c5bb3619d721750b9e409 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Fri Jul 21 11:56:05 2006 +0200 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Fri Jul 21 11:56:05 2006 +0200 |
tree | 938aaf2f2ccafd1c49c8459241c5112b387a2060 | |
parent | 87a5c73d66beee8cc4d3b179114da89bf8e09791 [diff] |
Code cleanup
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 @@ 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; }