From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH 1/5] fakehard: stop setting platform_data as it's unused anymore
Date: Thu, 30 Jun 2011 16:37:44 +0400 [thread overview]
Message-ID: <1309437468-31021-2-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1309437468-31021-1-git-send-email-dbaryshkov@gmail.com>
Previously dev.platform_data was used to store a pointer to net device.
Now this code was gone. Drop it.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
drivers/ieee802154/fakehard.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c
index a5a49a1..eb0e2cc 100644
--- a/drivers/ieee802154/fakehard.c
+++ b/drivers/ieee802154/fakehard.c
@@ -370,8 +370,6 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev)
return -ENOMEM;
}
- phy->dev.platform_data = dev;
-
memcpy(dev->dev_addr, "\xba\xbe\xca\xfe\xde\xad\xbe\xef",
dev->addr_len);
memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
--
1.7.5.4
next prev parent reply other threads:[~2011-06-30 12:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 12:37 [NEXT][PATCH 0/5] Updates for net-next for IEEE 802.15.4 code Dmitry Eremin-Solenikov
2011-06-30 12:37 ` Dmitry Eremin-Solenikov [this message]
2011-06-30 12:37 ` [PATCH 2/5] ieee802154: support specifying hw address for created devices Dmitry Eremin-Solenikov
2011-06-30 12:37 ` [PATCH 3/5] ieee802154: it's IEEE 802.15.4, not ZigBee Dmitry Eremin-Solenikov
2011-06-30 12:37 ` [PATCH 4/5] ieee802154: free skb buffer if dev isn't running Dmitry Eremin-Solenikov
2011-06-30 12:37 ` [PATCH 5/5] IEEE 802.15.4: do not enable driver debugging by default Dmitry Eremin-Solenikov
2011-07-01 23:17 ` [NEXT][PATCH 0/5] Updates for net-next for IEEE 802.15.4 code 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=1309437468-31021-2-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=davem@davemloft.net \
--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).