summaryrefslogtreecommitdiffstats
path: root/net/atm/br2684.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 11:12:33 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-17 10:37:52 -0800
commit37d668004289d202f71dc5bfdadf6c18b34577a2 (patch)
tree790fc68d58b4c6d83d269dc80bebe42601a676df /net/atm/br2684.c
parentece49153b601d95bcebd45a6394e370972f0b0a0 (diff)
downloadlinux-37d668004289d202f71dc5bfdadf6c18b34577a2.tar.bz2
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/br2684.c')
-rw-r--r--net/atm/br2684.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c
index ad2b232a2055..fce2eae8d476 100644
--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -97,7 +97,7 @@ static LIST_HEAD(br2684_devs);
static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev)
{
- return (struct br2684_dev *)netdev_priv(net_dev);
+ return netdev_priv(net_dev);
}
static inline struct net_device *list_entry_brdev(const struct list_head *le)