[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110406.125344.179945750.davem@davemloft.net>
Date: Wed, 06 Apr 2011 12:53:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucian.grijincu@...il.com
Cc: adobriyan@...il.com, ebiederm@...ssion.com, tavi@...pub.ro,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 02/24] sysctl: cookie: add ctl_header_cookie
From: Lucian Adrian Grijincu <lucian.grijincu@...il.com>
Date: Sat, 2 Apr 2011 04:53:16 +0200
> @@ -205,6 +205,7 @@ static struct ctl_table_header root_table_header = {
> .ctl_entry = LIST_HEAD_INIT(sysctl_table_root.default_set.list),}},
> .root = &sysctl_table_root,
> .set = &sysctl_table_root.default_set,
> + .ctl_header_cookie = NULL,
> };
Such explicit setting of structure members to NULL in an assignment is
never necessary. Please remove these, there were a few cases in this
patch.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists