* remove unused kernel_stat fields
@ 2002-04-09 21:02 Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2002-04-09 21:02 UTC (permalink / raw)
To: davem; +Cc: netdev, linux-net
Dave, anyone-
I can't find any references to these fields in struct kernel_stat.
Can they be removed...or is there non-kernel code that needs to
have them in the kernel?
Patch against 2.5.8-pre2. Please apply.
--- linux-258-pre2/include/linux/kernel_stat.h.STAT Tue Apr 9 12:43:14 2002
+++ linux-258-pre2/include/linux/kernel_stat.h Tue Apr 9 13:40:51 2002
@@ -29,9 +29,6 @@
#if !defined(CONFIG_ARCH_S390)
unsigned int irqs[NR_CPUS][NR_IRQS];
#endif
- unsigned int ipackets, opackets;
- unsigned int ierrors, oerrors;
- unsigned int collisions;
};
extern struct kernel_stat kstat;
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* remove unused kernel_stat fields
@ 2002-04-09 21:02 Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2002-04-09 21:02 UTC (permalink / raw)
To: davem; +Cc: netdev, linux-net
Dave, anyone-
I can't find any references to these fields in struct kernel_stat.
Can they be removed...or is there non-kernel code that needs to
have them in the kernel?
Patch against 2.5.8-pre2. Please apply.
--- linux-258-pre2/include/linux/kernel_stat.h.STAT Tue Apr 9 12:43:14 2002
+++ linux-258-pre2/include/linux/kernel_stat.h Tue Apr 9 13:40:51 2002
@@ -29,9 +29,6 @@
#if !defined(CONFIG_ARCH_S390)
unsigned int irqs[NR_CPUS][NR_IRQS];
#endif
- unsigned int ipackets, opackets;
- unsigned int ierrors, oerrors;
- unsigned int collisions;
};
extern struct kernel_stat kstat;
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-09 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-09 21:02 remove unused kernel_stat fields Randy.Dunlap
-- strict thread matches above, loose matches on Subject: below --
2002-04-09 21:02 Randy.Dunlap
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).