summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-02-17 23:55:07 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-18 23:47:47 +0100
commitbf473a268af5d19c3730742a0c4f9aca274843da (patch)
tree704001674a4d3bee116add3b14e2afcbc3ce7cd5
parentconst: struct nla_policy (diff)
downloadlinux-bf473a268af5d19c3730742a0c4f9aca274843da.tar.xz
linux-bf473a268af5d19c3730742a0c4f9aca274843da.zip
depca: remove forgotten needless inicialization
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/depca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/depca.c b/drivers/net/depca.c
index 64a569bc92a6..744c1928dfca 100644
--- a/drivers/net/depca.c
+++ b/drivers/net/depca.c
@@ -1272,7 +1272,7 @@ static void set_multicast_list(struct net_device *dev)
static void SetMulticastFilter(struct net_device *dev)
{
struct depca_private *lp = netdev_priv(dev);
- struct dev_mc_list *dmi = dev->mc_list;
+ struct dev_mc_list *dmi;
char *addrs;
int i, j, bit, byte;
u16 hashcode;