* [PATCH net-next] atl1e:remove unnecessary crc inversion
@ 2008-11-14 8:58 jie.yang
0 siblings, 0 replies; only message in thread
From: jie.yang @ 2008-11-14 8:58 UTC (permalink / raw)
To: jeff; +Cc: pyunyh, netdev, linux-kernel
From: Jie Yang <jie.yang@atheros.com>
remove unnecessary crc inversion.
Signed-off-by: Jie Yang <jie.yang @atheros.com>
---
diff --git a/drivers/net/atl1e/atl1e_hw.c b/drivers/net/atl1e/atl1e_hw.c
index 8cbc1b5..a2c93d1 100644
--- a/drivers/net/atl1e/atl1e_hw.c
+++ b/drivers/net/atl1e/atl1e_hw.c
@@ -174,7 +174,6 @@ u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr)
int i;
crc32 = ether_crc_le(6, mc_addr);
- crc32 = ~crc32;
for (i = 0; i < 32; i++)
value |= (((crc32 >> i) & 1) << (31 - i));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-14 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14 8:58 [PATCH net-next] atl1e:remove unnecessary crc inversion jie.yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®