mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 6/7] usbnet: do not initialize ethernet device from usb device
Date: Mon,  4 Apr 2011 15:09:44 +0200	[thread overview]
Message-ID: <1301922585-8144-7-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1301922585-8144-1-git-send-email-s.hauer@pengutronix.de>

The network layer will initialize this correctly for us.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/net/usb/usbnet.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 983d464..cd658ed 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -206,7 +206,6 @@ int usbnet_probe(struct usb_device *usbdev, const struct usb_device_id *prod)
 	edev->recv = usbnet_recv,
 	edev->halt = usbnet_halt,
 	edev->priv = undev;
-	edev->dev = usbdev->dev; /* will be overwritten by eth_register */
 
 	info = (struct driver_info *)prod->driver_info;
 	undev->driver_info = info;
-- 
1.7.2.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2011-04-04 13:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 13:09 various fixes and updates Sascha Hauer
2011-04-04 13:09 ` [PATCH 1/7] arm: update mach-types Sascha Hauer
2011-04-04 13:09 ` [PATCH 2/7] driver: Do not forget to remove device from active list Sascha Hauer
2011-04-04 13:09 ` [PATCH 3/7] memcpy command: do not set read/write size Sascha Hauer
2011-04-04 13:09 ` [PATCH 4/7] mmc: check correctness of the voltage mask in ocr Sascha Hauer
2011-04-04 13:09 ` [PATCH 5/7] fs: errno should be set correctly before the end of functions Sascha Hauer
2011-04-04 13:09 ` Sascha Hauer [this message]
2011-04-04 13:09 ` [PATCH 7/7] ARM: Add missing parameter name Sascha Hauer

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=1301922585-8144-7-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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