From: Alexander Beregalov <a.beregalov@gmail.com>
To: netdev@vger.kernel.org
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Subject: [PATCH -next 1/3] ipw2x00: remove old compat_net_dev_ops code
Date: Wed, 15 Apr 2009 21:58:27 +0400 [thread overview]
Message-ID: <1239818309-14899-1-git-send-email-a.beregalov@gmail.com> (raw)
Since both ipw2100 and ipw2200 are already converted to new
net_device_ops this code is useless.
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
drivers/net/wireless/ipw2x00/libipw_module.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c
index 92a2692..8ce6e96 100644
--- a/drivers/net/wireless/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/ipw2x00/libipw_module.c
@@ -154,10 +154,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
goto failed;
}
ieee = netdev_priv(dev);
-#ifdef CONFIG_COMPAT_NET_DEV_OPS
- dev->hard_start_xmit = ieee80211_xmit;
- dev->change_mtu = ieee80211_change_mtu;
-#endif
ieee->dev = dev;
--
1.6.2.3
next reply other threads:[~2009-04-15 17:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-15 17:58 Alexander Beregalov [this message]
2009-04-15 17:58 ` [PATCH -next 2/3] usbnet: remove old compat_net_dev_ops code Alexander Beregalov
2009-04-15 17:58 ` [PATCH -next 3/3] 8390(p): " Alexander Beregalov
2009-04-16 9:24 ` David Miller
2009-04-16 9:24 ` [PATCH -next 2/3] usbnet: " David Miller
2009-04-16 9:24 ` [PATCH -next 1/3] ipw2x00: " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239818309-14899-1-git-send-email-a.beregalov@gmail.com \
--to=a.beregalov@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).