Commit 9a521359 authored by Li zeming's avatar Li zeming Committed by Luis Chamberlain

proc: remove initialization assignment

The allocation address of the core_parent pointer variable is first
executed in the function, no initialization assignment is required.
Signed-off-by: default avatarLi zeming <zeming@nfschina.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 7e18e42e
......@@ -1246,7 +1246,7 @@ static bool get_links(struct ctl_dir *dir,
static int insert_links(struct ctl_table_header *head)
{
struct ctl_table_set *root_set = &sysctl_table_root.default_set;
struct ctl_dir *core_parent = NULL;
struct ctl_dir *core_parent;
struct ctl_table_header *links;
int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment