diff options
author | Jon Mason <jon.mason@exar.com> | 2010-08-12 05:03:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-18 14:24:50 -0700 |
commit | be265e9bae343d803145bbe910a8b00bc4bea3cc (patch) | |
tree | 8586e21cef68aa048e5ab11e1ba43295403bfdea /drivers/net/s2io.c | |
parent | baeb2ffab4e67bb9174e6166e070a9a8ec94b0f6 (diff) | |
download | op-kernel-dev-be265e9bae343d803145bbe910a8b00bc4bea3cc.zip op-kernel-dev-be265e9bae343d803145bbe910a8b00bc4bea3cc.tar.gz |
s2io: remove unused code
usr_addrs is never referenced outside the initial struct population
during open, thus making it unnecessary. Remove it, the code that
references it, and the struct that it is the only user of.
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 18bc5b7..0124f12 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -5124,8 +5124,6 @@ static void s2io_set_multicast(struct net_device *dev) /* Create the new Rx filter list and update the same in H/W. */ i = 0; netdev_for_each_mc_addr(ha, dev) { - memcpy(sp->usr_addrs[i].addr, ha->addr, - ETH_ALEN); mac_addr = 0; for (j = 0; j < ETH_ALEN; j++) { mac_addr |= ha->addr[j]; |