summaryrefslogtreecommitdiffstats
path: root/net/atm/lec.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 12:12:33 +0100
committerDavid S. Miller <davem@davemloft.net>2010-11-17 19:37:52 +0100
commit37d668004289d202f71dc5bfdadf6c18b34577a2 (patch)
tree790fc68d58b4c6d83d269dc80bebe42601a676df /net/atm/lec.c
parentdrivers/net: Remove unnecessary casts of netdev_priv (diff)
downloadlinux-37d668004289d202f71dc5bfdadf6c18b34577a2.tar.xz
linux-37d668004289d202f71dc5bfdadf6c18b34577a2.zip
net/atm: Remove unnecessary casts of netdev_priv
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r--net/atm/lec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 181d70c73d70..179e04bc99dd 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -816,8 +816,7 @@ static int lec_mcast_attach(struct atm_vcc *vcc, int arg)
if (arg < 0 || arg >= MAX_LEC_ITF || !dev_lec[arg])
return -EINVAL;
vcc->proto_data = dev_lec[arg];
- return lec_mcast_make((struct lec_priv *)netdev_priv(dev_lec[arg]),
- vcc);
+ return lec_mcast_make(netdev_priv(dev_lec[arg]), vcc);
}
/* Initialize device. */