OSDN Git Service

hw/net/cadence_gem: Remove dead code
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 13 May 2014 15:09:38 +0000 (16:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 13 May 2014 15:09:38 +0000 (16:09 +0100)
commitc94239fe5633fb9816b5bbc61ccc134ce7171b2b
treee0a675d2ab62cfe5f85d20e94d826f566739abf2
parent654039b42a7f0e7d1b719a17d5c388662950b9ab
hw/net/cadence_gem: Remove dead code

Commit 191946c moved the code to handle padding to minimum
length from after the handling of the CRC to before it.
This means that the CRC code doesn't need to cope with the
possibility that the size is less than 60; remove this
dead code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
hw/net/cadence_gem.c