Merge branches 'kbuild', 'packaging' and 'misc' of git://git.kernel.org/pub/scm/linux...
[deliverable/linux.git] / drivers / net / a2065.c
index 7d9a1a6ea8b2d4c472e130b0ad19e2f2091d0416..e1e1b07d9b8d5ba1fc34bdacc201dcef1b4e9bda 100644 (file)
@@ -587,7 +587,6 @@ static void lance_load_multicast(struct net_device *dev)
        volatile struct lance_init_block *ib = lp->init_block;
        volatile u16 *mcast_table = (u16 *)&ib->filter;
        struct netdev_hw_addr *ha;
-       char *addrs;
        u32 crc;
 
        /* set all multicast bits */
@@ -602,13 +601,7 @@ static void lance_load_multicast(struct net_device *dev)
 
        /* Add addresses */
        netdev_for_each_mc_addr(ha, dev) {
-               addrs = ha->addr;
-
-               /* multicast address? */
-               if (!(*addrs & 1))
-                       continue;
-
-               crc = ether_crc_le(6, addrs);
+               crc = ether_crc_le(6, ha->addr);
                crc = crc >> 26;
                mcast_table[crc >> 4] |= 1 << (crc & 0xf);
        }
This page took 0.0315 seconds and 5 git commands to generate.