remove unused kernel_stat fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux