]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
md: Convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Tue, 22 Oct 2013 22:29:51 +0000 (15:29 -0700)
committerNeilBrown <neilb@suse.de>
Thu, 24 Oct 2013 02:40:00 +0000 (13:40 +1100)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c

index 5900b4b34b482ec032ae12fdcc9d65bdb5bda50f..628cd529343f0b5bc38d44899c89adbb17e69e65 100644 (file)
@@ -112,7 +112,7 @@ static inline int speed_max(struct mddev *mddev)
 
 static struct ctl_table_header *raid_table_header;
 
-static ctl_table raid_table[] = {
+static struct ctl_table raid_table[] = {
        {
                .procname       = "speed_limit_min",
                .data           = &sysctl_speed_limit_min,
@@ -130,7 +130,7 @@ static ctl_table raid_table[] = {
        { }
 };
 
-static ctl_table raid_dir_table[] = {
+static struct ctl_table raid_dir_table[] = {
        {
                .procname       = "raid",
                .maxlen         = 0,
@@ -140,7 +140,7 @@ static ctl_table raid_dir_table[] = {
        { }
 };
 
-static ctl_table raid_root_table[] = {
+static struct ctl_table raid_root_table[] = {
        {
                .procname       = "dev",
                .maxlen         = 0,