netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sched: remove unused backlog in RED stats
@ 2011-01-13  1:42 Stephen Hemminger
  2011-01-13  3:00 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2011-01-13  1:42 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

The RED statistics structure includes backlog field which is not
set or used by any code.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--- a/include/net/red.h	2011-01-12 15:04:13.146731266 -0800
+++ b/include/net/red.h	2011-01-12 15:04:19.050731266 -0800
@@ -97,7 +97,6 @@ struct red_stats {
 	u32		forced_mark;	/* Forced marks, qavg > max_thresh */
 	u32		pdrop;          /* Drops due to queue limits */
 	u32		other;          /* Drops due to drop() calls */
-	u32		backlog;
 };
 
 struct red_parms {

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

* Re: [PATCH] sched: remove unused backlog in RED stats
  2011-01-13  1:42 [PATCH] sched: remove unused backlog in RED stats Stephen Hemminger
@ 2011-01-13  3:00 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-01-13  3:00 UTC (permalink / raw)
  To: shemminger; +Cc: netdev

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Wed, 12 Jan 2011 17:42:32 -0800

> The RED statistics structure includes backlog field which is not
> set or used by any code.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.

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

end of thread, other threads:[~2011-01-13  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13  1:42 [PATCH] sched: remove unused backlog in RED stats Stephen Hemminger
2011-01-13  3:00 ` David Miller

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