sysctl net: Remove unused binary sysctl code
[deliverable/linux.git] / net / sunrpc / xprtrdma / svc_rdma.c
index 35fb68b9c8ec96ca2080530e014135d643aaabac..678cee22013f33b436be1d9662f9e287019f7ef6 100644 (file)
@@ -121,7 +121,6 @@ static ctl_table svcrdma_parm_table[] = {
                .maxlen         = sizeof(unsigned int),
                .mode           = 0644,
                .proc_handler   = &proc_dointvec_minmax,
-               .strategy       = &sysctl_intvec,
                .extra1         = &min_max_requests,
                .extra2         = &max_max_requests
        },
@@ -131,7 +130,6 @@ static ctl_table svcrdma_parm_table[] = {
                .maxlen         = sizeof(unsigned int),
                .mode           = 0644,
                .proc_handler   = &proc_dointvec_minmax,
-               .strategy       = &sysctl_intvec,
                .extra1         = &min_max_inline,
                .extra2         = &max_max_inline
        },
@@ -141,7 +139,6 @@ static ctl_table svcrdma_parm_table[] = {
                .maxlen         = sizeof(unsigned int),
                .mode           = 0644,
                .proc_handler   = &proc_dointvec_minmax,
-               .strategy       = &sysctl_intvec,
                .extra1         = &min_ord,
                .extra2         = &max_ord,
        },
@@ -209,9 +206,7 @@ static ctl_table svcrdma_parm_table[] = {
                .mode           = 0644,
                .proc_handler   = &read_reset_stat,
        },
-       {
-               .ctl_name = 0,
-       },
+       { },
 };
 
 static ctl_table svcrdma_table[] = {
@@ -220,21 +215,16 @@ static ctl_table svcrdma_table[] = {
                .mode           = 0555,
                .child          = svcrdma_parm_table
        },
-       {
-               .ctl_name = 0,
-       },
+       { },
 };
 
 static ctl_table svcrdma_root_table[] = {
        {
-               .ctl_name       = CTL_SUNRPC,
                .procname       = "sunrpc",
                .mode           = 0555,
                .child          = svcrdma_table
        },
-       {
-               .ctl_name = 0,
-       },
+       { },
 };
 
 void svc_rdma_cleanup(void)
This page took 0.034532 seconds and 5 git commands to generate.