提交 592749e4 编写于 作者: J Joe Perches 提交者: Linus Torvalds

scsi: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 be424c63
......@@ -12,7 +12,7 @@
#include "scsi_priv.h"
static ctl_table scsi_table[] = {
static struct ctl_table scsi_table[] = {
{ .procname = "logging_level",
.data = &scsi_logging_level,
.maxlen = sizeof(scsi_logging_level),
......@@ -21,14 +21,14 @@ static ctl_table scsi_table[] = {
{ }
};
static ctl_table scsi_dir_table[] = {
static struct ctl_table scsi_dir_table[] = {
{ .procname = "scsi",
.mode = 0555,
.child = scsi_table },
{ }
};
static ctl_table scsi_root_table[] = {
static struct ctl_table scsi_root_table[] = {
{ .procname = "dev",
.mode = 0555,
.child = scsi_dir_table },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册