Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753068AbYKNI6W (ORCPT ); Fri, 14 Nov 2008 03:58:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751088AbYKNI6L (ORCPT ); Fri, 14 Nov 2008 03:58:11 -0500 Received: from mail.atheros.com ([12.36.123.2]:51352 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbYKNI6K (ORCPT ); Fri, 14 Nov 2008 03:58:10 -0500 From: To: CC: , , Subject: [PATCH net-next] atl1e:remove unnecessary crc inversion Date: Fri, 14 Nov 2008 16:58:07 +0800 Message-ID: <12266530874043-git-send-email-jie.yang@atheros.com> X-Mailer: git-send-email 1.5.2.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 25 From: Jie Yang remove unnecessary crc inversion. Signed-off-by: Jie Yang --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/