diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-12-01 16:10:50 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 00:22:30 -0500 |
commit | 6b4bdde61bd1f8451801e5fb092cbe2d1050984e (patch) | |
tree | d9d7b854aed6eca49de9d8f600466130bd885efb /drivers/net/amd8111e.h | |
parent | b0a20ded562cfa60b0d45d269e416f541f2d5aaf (diff) | |
download | lwn-6b4bdde61bd1f8451801e5fb092cbe2d1050984e.tar.gz lwn-6b4bdde61bd1f8451801e5fb092cbe2d1050984e.zip |
[PATCH] amd8111e use standard CRC lib
I noticed this driver (and several others) reinvent their own copy of the
existing CRC library. Don't have the hardware, but tested by extracting
code and comparing result.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/amd8111e.h')
-rw-r--r-- | drivers/net/amd8111e.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/amd8111e.h b/drivers/net/amd8111e.h index 7727d328f65e..2007510c4eb6 100644 --- a/drivers/net/amd8111e.h +++ b/drivers/net/amd8111e.h @@ -651,10 +651,6 @@ typedef enum { /* driver ioctl parameters */ #define AMD8111E_REG_DUMP_LEN 13*sizeof(u32) -/* crc generator constants */ -#define CRC32 0xedb88320 -#define INITCRC 0xFFFFFFFF - /* amd8111e desriptor format */ struct amd8111e_tx_dr{ |