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/crc16.c | |
| parent | 87a5c73d66beee8cc4d3b179114da89bf8e09791 (diff) | |
| download | olio-uboot-2014.01-b9365a26a1030ce13f2c5bb3619d721750b9e409.tar.xz olio-uboot-2014.01-b9365a26a1030ce13f2c5bb3619d721750b9e409.zip | |
Code cleanup
Diffstat (limited to 'common/crc16.c')
| -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 3cef10600..6904365e5 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;  } |