netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [net] gianfar: remove orphan struct.
@ 2007-10-17  8:52 Sebastian Siewior
  2007-10-18  0:21 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Siewior @ 2007-10-17  8:52 UTC (permalink / raw)
  To: jeff; +Cc: netdev, Li Yang

struct net_device_stats is no longer used in driver's private
struct but in struct net_device.

Cc: Li Yang <leoli@freescale.com>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
---
 drivers/net/gianfar.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h
index c16cc8b..46cd773 100644
--- a/drivers/net/gianfar.h
+++ b/drivers/net/gianfar.h
@@ -749,7 +749,6 @@ struct gfar_private {
 	uint32_t msg_enable;
 
 	/* Network Statistics */
-	struct net_device_stats stats;
 	struct gfar_extra_stats extra_stats;
 };
 
-- 
1.5.2.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [net] gianfar: remove orphan struct.
  2007-10-17  8:52 [PATCH] [net] gianfar: remove orphan struct Sebastian Siewior
@ 2007-10-18  0:21 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-10-18  0:21 UTC (permalink / raw)
  To: Sebastian Siewior; +Cc: netdev, Li Yang

Sebastian Siewior wrote:
> struct net_device_stats is no longer used in driver's private
> struct but in struct net_device.
> 
> Cc: Li Yang <leoli@freescale.com>
> Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
> ---
>  drivers/net/gianfar.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h
> index c16cc8b..46cd773 100644
> --- a/drivers/net/gianfar.h
> +++ b/drivers/net/gianfar.h
> @@ -749,7 +749,6 @@ struct gfar_private {
>  	uint32_t msg_enable;
>  
>  	/* Network Statistics */
> -	struct net_device_stats stats;

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-18  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17  8:52 [PATCH] [net] gianfar: remove orphan struct Sebastian Siewior
2007-10-18  0:21 ` Jeff Garzik

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).