[<prev] [next>] [day] [month] [year] [list]
Message-ID: <12266530874043-git-send-email-jie.yang@atheros.com>
Date: Fri, 14 Nov 2008 16:58:07 +0800
From: <jie.yang@...eros.com>
To: <jeff@...zik.org>
CC: <pyunyh@...il.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH net-next] atl1e:remove unnecessary crc inversion
From: Jie Yang <jie.yang@...eros.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));
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists