[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200903210209.04785.david-b@pacbell.net>
Date: Sat, 21 Mar 2009 02:09:04 -0700
From: David Brownell <david-b@...bell.net>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 26/77] usbnet: convert to internal net_device_stats
On Friday 20 March 2009, Stephen Hemminger wrote:
> Default handler for net_device_stats already does same thing.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Acked-by: David Brownell <dbrownell@...rs.sourceforge.net>
>
>
> --- a/drivers/net/usb/usbnet.c 2009-03-20 09:38:00.950964064 -0700
> +++ b/drivers/net/usb/usbnet.c 2009-03-20 09:38:46.383715245 -0700
> @@ -249,14 +249,6 @@ static int usbnet_change_mtu (struct net
>
> /*-------------------------------------------------------------------------*/
>
> -static struct net_device_stats *usbnet_get_stats (struct net_device *net)
> -{
> - struct usbnet *dev = netdev_priv(net);
> - return &dev->stats;
> -}
> -
> -/*-------------------------------------------------------------------------*/
> -
> /* some LK 2.4 HCDs oopsed if we freed or resubmitted urbs from
> * completion callbacks. 2.5 should have fixed those bugs...
> */
> @@ -1180,7 +1172,6 @@ usbnet_probe (struct usb_interface *udev
> #endif
>
> net->change_mtu = usbnet_change_mtu;
> - net->get_stats = usbnet_get_stats;
> net->hard_start_xmit = usbnet_start_xmit;
> net->open = usbnet_open;
> net->stop = usbnet_stop;
>
> --
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists