[linux-next] LinuxNextTracking branch, master, updated. next-20130221

batman at open-mesh.org batman at open-mesh.org
Fri Feb 22 00:19:54 CET 2013

The following commit has been merged in the master branch:
commit 9c3b8dc84591338fe888ca3c618405c0f77c6d13
Author: Andrew Morton <akpm at linux-foundation.org>
Date:   Wed Feb 20 13:17:05 2013 +1100

    fix warnings
    Reported-by: Wu Fengguang <fengguang.wu at intel.com>
    Cc: Sasha Levin <sasha.levin at oracle.com>
    Cc: Tejun Heo <tj at kernel.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>

diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index d8dcf2d..c311468 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1610,7 +1610,6 @@ static struct dentry *cgroup_mount(struct file_system_type *fs_type,
 		struct cgroupfs_root *existing_root;
 		const struct cred *cred;
 		int i;
-		struct hlist_node *node;
 		struct css_set *cg;
 		BUG_ON(sb->s_root != NULL);
@@ -4492,7 +4491,7 @@ int __init_or_module cgroup_load_subsys(struct cgroup_subsys *ss)
 	struct cgroup_subsys_state *css;
 	int i, ret;
-	struct hlist_node *node, *tmp;
+	struct hlist_node *tmp;
 	struct css_set *cg;
 	unsigned long key;
@@ -4570,7 +4569,7 @@ int __init_or_module cgroup_load_subsys(struct cgroup_subsys *ss)
 		cg->subsys[ss->subsys_id] = css;
 		/* recompute hash and restore entry */
 		key = css_set_hash(cg->subsys);
-		hash_add(css_set_table, node, key);
+		hash_add(css_set_table, &cg->hlist, key);
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index 43d0f89..96fb80b 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -408,7 +408,6 @@ int batadv_orig_seq_print_text(struct seq_file *seq, void *offset)
 	struct net_device *net_dev = (struct net_device *)seq->private;
 	struct batadv_priv *bat_priv = netdev_priv(net_dev);
 	struct batadv_hashtable *hash = bat_priv->orig_hash;
-	struct hlist_node *node_tmp;
 	struct hlist_head *head;
 	struct batadv_hard_iface *primary_if;
 	struct batadv_orig_node *orig_node;


More information about the linux-merge mailing list