diff options
author | Joe Perches <joe@perches.com> | 2014-06-06 17:37:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:16 -0400 |
commit | 592749e4d05fb6ea5ea75368aa6d2858cc0637c3 (patch) | |
tree | 7bc0f158e7ba2df9769ec790a9ce942370e5c16b | |
parent | be424c63aafb58cf07be8037355304a17a07f842 (diff) |
scsi: convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/scsi/scsi_sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c index 2b6b93f7d8ef..546f16299ef9 100644 --- a/drivers/scsi/scsi_sysctl.c +++ b/drivers/scsi/scsi_sysctl.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include "scsi_priv.h" | 12 | #include "scsi_priv.h" |
13 | 13 | ||
14 | 14 | ||
15 | static ctl_table scsi_table[] = { | 15 | static struct ctl_table scsi_table[] = { |
16 | { .procname = "logging_level", | 16 | { .procname = "logging_level", |
17 | .data = &scsi_logging_level, | 17 | .data = &scsi_logging_level, |
18 | .maxlen = sizeof(scsi_logging_level), | 18 | .maxlen = sizeof(scsi_logging_level), |
@@ -21,14 +21,14 @@ static ctl_table scsi_table[] = { | |||
21 | { } | 21 | { } |
22 | }; | 22 | }; |
23 | 23 | ||
24 | static ctl_table scsi_dir_table[] = { | 24 | static struct ctl_table scsi_dir_table[] = { |
25 | { .procname = "scsi", | 25 | { .procname = "scsi", |
26 | .mode = 0555, | 26 | .mode = 0555, |
27 | .child = scsi_table }, | 27 | .child = scsi_table }, |
28 | { } | 28 | { } |
29 | }; | 29 | }; |
30 | 30 | ||
31 | static ctl_table scsi_root_table[] = { | 31 | static struct ctl_table scsi_root_table[] = { |
32 | { .procname = "dev", | 32 | { .procname = "dev", |
33 | .mode = 0555, | 33 | .mode = 0555, |
34 | .child = scsi_dir_table }, | 34 | .child = scsi_dir_table }, |