Skip to contentSkip to conversation

remove unused kernel_stat fields

PATCH Randy.Dunlap 1 participant 1 message Apr 9, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

include/linux/kernel_stat.h renamed from include/linux/kernel_stat.h.STAT +0 -3
@@ -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;
Signature · 1 line
~Randy