fix crc32
authorIlia Sergachev <ilia.sergachev@pm.me>
Mon, 9 Sep 2019 11:19:43 +0000 (13:19 +0200)
committerIlia Sergachev <ilia.sergachev@pm.me>
Mon, 9 Sep 2019 11:19:43 +0000 (13:19 +0200)
litex/soc/software/libbase/crc32.c

index b8b58a76558470ac3bbebffba9f56a1c6151dba2..68f7b336cc20713411b269ff3e4141fa9e300d99 100644 (file)
@@ -68,7 +68,6 @@ static const unsigned int crc_table[256] = {
 
 unsigned int crc32(const unsigned char *buffer, unsigned int len)
 {
-       return 0;
        unsigned int crc;
        crc = 0;
        crc = crc ^ 0xffffffffL;