net: ethernet: freescale: Use generic CRC32 implementation
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 23 Jul 2018 16:19:14 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jul 2018 20:40:25 +0000 (13:40 -0700)
commit16f6e9835bcd33adac49bc2cad2ec7bbf5dfa356
tree864e2954f0fd17754fbb65fb2fb9e37e32c10e04
parent34786005eca3b53cffa95d686bf3b7da1305867c
net: ethernet: freescale: Use generic CRC32 implementation

Use generic kernel CRC32 implementation because it:
1. Should be faster (uses lookup tables),
2. Removes duplicated CRC generation code,
3. Uses well-proven algorithm instead of coding it one more time.

Suggested-by: Eric Biggers <ebiggers3@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c