[PATCH] Remove some 0 initializers

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

 



Hi.

These small patches remove a number of '.maxlen = 0,' initializers. The
patches are against the current BK.

Art Haas

===== net/ipv6/sysctl_net_ipv6.c 1.6 vs edited =====
--- 1.6/net/ipv6/sysctl_net_ipv6.c	Thu May 29 05:12:27 2003
+++ edited/net/ipv6/sysctl_net_ipv6.c	Thu Jun 26 12:32:11 2003
@@ -86,7 +86,6 @@
 	{
 		.ctl_name	= NET_IPV6,
 		.procname	= "ipv6",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= ipv6_table
 	},
@@ -97,7 +96,6 @@
 	{
 		.ctl_name	= CTL_NET,
 		.procname	= "net",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= ipv6_net_table
 	},
===== net/ax25/sysctl_net_ax25.c 1.6 vs edited =====
--- 1.6/net/ax25/sysctl_net_ax25.c	Wed Feb 12 23:52:49 2003
+++ edited/net/ax25/sysctl_net_ax25.c	Thu Jun 26 12:32:56 2003
@@ -36,7 +36,6 @@
 	{
 		.ctl_name	= NET_AX25,
 		.procname	= "ax25",
-		.maxlen		= 0,
 		.mode		= 0555,
 	},
 	{ .ctl_name = 0 }
@@ -46,7 +45,6 @@
 	{
 		.ctl_name	= CTL_NET,
 		.procname	= "net",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= ax25_dir_table
 	},
===== net/netrom/sysctl_net_netrom.c 1.3 vs edited =====
--- 1.3/net/netrom/sysctl_net_netrom.c	Thu Feb 20 01:35:46 2003
+++ edited/net/netrom/sysctl_net_netrom.c	Thu Jun 26 12:31:32 2003
@@ -162,7 +162,6 @@
 	{
 		.ctl_name	= NET_NETROM,
 		.procname	= "netrom",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= nr_table
 	},
@@ -173,7 +172,6 @@
 	{
 		.ctl_name	= CTL_NET,
 		.procname	= "net",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= nr_dir_table
 	},
===== net/rose/sysctl_net_rose.c 1.3 vs edited =====
--- 1.3/net/rose/sysctl_net_rose.c	Thu Feb 20 01:34:56 2003
+++ edited/net/rose/sysctl_net_rose.c	Thu Jun 26 12:31:14 2003
@@ -142,7 +142,6 @@
 	{
 		.ctl_name	= NET_ROSE,
 		.procname	= "rose",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= rose_table
 	},
@@ -153,7 +152,6 @@
 	{
 		.ctl_name	= CTL_NET,
 		.procname	= "net",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= rose_dir_table
 	},
===== net/rxrpc/sysctl.c 1.2 vs edited =====
--- 1.2/net/rxrpc/sysctl.c	Thu Feb 20 01:36:29 2003
+++ edited/net/rxrpc/sysctl.c	Thu Jun 26 12:30:52 2003
@@ -68,7 +68,6 @@
 	{
 		.ctl_name	= 1,
 		.procname	= "rxrpc",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= rxrpc_sysctl_table
 	},
===== net/sctp/sysctl.c 1.9 vs edited =====
--- 1.9/net/sctp/sysctl.c	Wed May 14 19:24:12 2003
+++ edited/net/sctp/sysctl.c	Thu Jun 26 12:30:35 2003
@@ -152,7 +152,6 @@
 	{
 		.ctl_name	= NET_SCTP,
 		.procname	= "sctp",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= sctp_table
 	},
@@ -163,7 +162,6 @@
 	{
 		.ctl_name	= CTL_NET,
 		.procname	= "net",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= sctp_net_table
 	},
===== net/sunrpc/sysctl.c 1.4 vs edited =====
--- 1.4/net/sunrpc/sysctl.c	Sat Feb 22 18:15:34 2003
+++ edited/net/sunrpc/sysctl.c	Thu Jun 26 12:30:17 2003
@@ -155,7 +155,6 @@
 	{
 		.ctl_name	= CTL_SUNRPC,
 		.procname	= "sunrpc",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= debug_table
 	},
===== net/unix/sysctl_net_unix.c 1.5 vs edited =====
--- 1.5/net/unix/sysctl_net_unix.c	Sat May  3 03:41:07 2003
+++ edited/net/unix/sysctl_net_unix.c	Thu Jun 26 12:29:07 2003
@@ -30,7 +30,6 @@
 	{
 		.ctl_name	= NET_UNIX,
 		.procname	= "unix",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= unix_table
 	},
@@ -41,7 +40,6 @@
 	{
 		.ctl_name	= CTL_NET,
 		.procname	= "net",
-		.maxlen		= 0,
 		.mode		= 0555,
 		.child		= unix_net_table
 	},
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822
-
: 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