Skip to content

Commit

Permalink
md: Convert use of typedef ctl_table to struct ctl_table
Browse files Browse the repository at this point in the history
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
Joe Perches authored and NeilBrown committed Nov 19, 2013
1 parent 30b8feb commit 82592c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 82592c3

Please sign in to comment.