Commit f0b76558 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina

sgi: xpc: Convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarRobin Holt <holt@sgi.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 13541950
...@@ -92,7 +92,7 @@ int xpc_disengage_timelimit = XPC_DISENGAGE_DEFAULT_TIMELIMIT; ...@@ -92,7 +92,7 @@ int xpc_disengage_timelimit = XPC_DISENGAGE_DEFAULT_TIMELIMIT;
static int xpc_disengage_min_timelimit; /* = 0 */ static int xpc_disengage_min_timelimit; /* = 0 */
static int xpc_disengage_max_timelimit = 120; static int xpc_disengage_max_timelimit = 120;
static ctl_table xpc_sys_xpc_hb_dir[] = { static struct ctl_table xpc_sys_xpc_hb_dir[] = {
{ {
.procname = "hb_interval", .procname = "hb_interval",
.data = &xpc_hb_interval, .data = &xpc_hb_interval,
...@@ -111,7 +111,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = { ...@@ -111,7 +111,7 @@ static ctl_table xpc_sys_xpc_hb_dir[] = {
.extra2 = &xpc_hb_check_max_interval}, .extra2 = &xpc_hb_check_max_interval},
{} {}
}; };
static ctl_table xpc_sys_xpc_dir[] = { static struct ctl_table xpc_sys_xpc_dir[] = {
{ {
.procname = "hb", .procname = "hb",
.mode = 0555, .mode = 0555,
...@@ -126,7 +126,7 @@ static ctl_table xpc_sys_xpc_dir[] = { ...@@ -126,7 +126,7 @@ static ctl_table xpc_sys_xpc_dir[] = {
.extra2 = &xpc_disengage_max_timelimit}, .extra2 = &xpc_disengage_max_timelimit},
{} {}
}; };
static ctl_table xpc_sys_dir[] = { static struct ctl_table xpc_sys_dir[] = {
{ {
.procname = "xpc", .procname = "xpc",
.mode = 0555, .mode = 0555,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment