LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Joonwoo Park <joonwpark81@gmail.com>
To: akpm@linux-foundation.org
Cc: Joonwoo Park <joonwpark81@gmail.com>,
	linux-kernel@vger.kernel.org, mark.fasheh@oracle.com,
	kurt.hackel@oracle.com
Subject: [PATCH 2/2] [RESENDING] fs/ocfs2: get rid of unnecessary initialization
Date: Mon, 11 Feb 2008 18:08:31 +0900	[thread overview]
Message-ID: <12027209163465-git-send-email-joonwpark81@gmail.com> (raw)
In-Reply-To: <12027209122955-git-send-email-joonwpark81@gmail.com>

default_groups was allocated with kcalloc, so initialize to NULL
is unnecessary.

Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
---
 fs/ocfs2/cluster/nodemanager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/cluster/nodemanager.c b/fs/ocfs2/cluster/nodemanager.c
index 709fba2..08609d7 100644
--- a/fs/ocfs2/cluster/nodemanager.c
+++ b/fs/ocfs2/cluster/nodemanager.c
@@ -839,7 +839,6 @@ static struct config_group *o2nm_cluster_group_make_group(struct config_group *g
 	cluster->cl_group.default_groups = defs;
 	cluster->cl_group.default_groups[0] = &ns->ns_group;
 	cluster->cl_group.default_groups[1] = o2hb_group;
-	cluster->cl_group.default_groups[2] = NULL;
 	rwlock_init(&cluster->cl_nodes_lock);
 	cluster->cl_node_ip_tree = RB_ROOT;
 	cluster->cl_reconnect_delay_ms = O2NET_RECONNECT_DELAY_MS_DEFAULT;
-- 
1.5.3.rc5


  reply	other threads:[~2008-02-11  9:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-11  9:08 [PATCH 1/2] [RESENDING] fs/dlm: " Joonwoo Park
2008-02-11  9:08 ` Joonwoo Park [this message]
2008-02-11  9:08   ` [PATCH] [RESENDING] netconsole: register cmdline netconsole configs to configfs Joonwoo Park
2008-02-11 16:30     ` Matt Mackall
2008-02-18 19:30   ` [PATCH 2/2] [RESENDING] fs/ocfs2: get rid of unnecessary initialization Mark Fasheh
2008-02-18 22:16     ` David Teigland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12027209163465-git-send-email-joonwpark81@gmail.com \
    --to=joonwpark81@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=kurt.hackel@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.fasheh@oracle.com \
    --subject='Re: [PATCH 2/2] [RESENDING] fs/ocfs2: get rid of unnecessary initialization' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).