Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e70f2f1bb8c8cf08ba0d836466f77eea27dd3474
Commit:     e70f2f1bb8c8cf08ba0d836466f77eea27dd3474
Parent:     c6fd47011b4bdebad3f1513bac75fe4895e332ee
Author:     Christian Borntraeger <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 6 15:21:46 2007 +0100
Committer:  Rusty Russell <[EMAIL PROTECTED]>
CommitDate: Mon Feb 4 23:50:07 2008 +1100

    virtnet: remove double ether_setup
    
    Hello Rusty,
    
    virtnet_probe already calls alloc_etherdev, which calls ether_setup.
    There is no need to do that again.
    
    Signed-off-by: Christian Borntraeger <[EMAIL PROTECTED]>
    Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
---
 drivers/net/virtio_net.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 6e0a9fe..be5688f 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -307,7 +307,6 @@ static int virtnet_probe(struct virtio_device *vdev)
                return -ENOMEM;
 
        /* Set up network device as normal. */
-       ether_setup(dev);
        dev->open = virtnet_open;
        dev->stop = virtnet_close;
        dev->hard_start_xmit = start_xmit;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to