summaryrefslogtreecommitdiffstats
path: root/net/netrom/sysctl_net_netrom.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-06-12 08:04:25 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-13 11:36:09 +0200
commitfe2c6338fd2c6f383c4d4164262f35c8f3708e1f (patch)
tree491431ce95f0bda453b054748e3552fa6450c21c /net/netrom/sysctl_net_netrom.c
parentnet: make all team port device link events urgent (diff)
downloadlinux-fe2c6338fd2c6f383c4d4164262f35c8f3708e1f.tar.xz
linux-fe2c6338fd2c6f383c4d4164262f35c8f3708e1f.zip
net: Convert uses of typedef ctl_table to struct ctl_table
Reduce the uses of this unnecessary typedef. Done via perl script: $ git grep --name-only -w ctl_table net | \ xargs perl -p -i -e '\ sub trim { my ($local) = @_; $local =~ s/(^\s+|\s+$)//g; return $local; } \ s/\b(?<!struct\s)ctl_table\b(\s*\*\s*|\s+\w+)/"struct ctl_table " . trim($1)/ge' Reflow the modified lines that now exceed 80 columns. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom/sysctl_net_netrom.c')
-rw-r--r--net/netrom/sysctl_net_netrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/sysctl_net_netrom.c b/net/netrom/sysctl_net_netrom.c
index 42f630b9a698..ba1c368b3f18 100644
--- a/net/netrom/sysctl_net_netrom.c
+++ b/net/netrom/sysctl_net_netrom.c
@@ -34,7 +34,7 @@ static int min_reset[] = {0}, max_reset[] = {1};
static struct ctl_table_header *nr_table_header;
-static ctl_table nr_table[] = {
+static struct ctl_table nr_table[] = {
{
.procname = "default_path_quality",
.data = &sysctl_netrom_default_path_quality,