Author: marek Date: 2010-05-17 10:32:46 +0200 (Mon, 17 May 2010) New Revision: 1659
Modified: trunk/batman-adv-kernelland/hard-interface.c Log: batman-adv: remove all rcu head initializations
Remove all rcu head inits. We don't care about the RCU head state before passing it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can keep track of objects on stack.
Signed-off-by: Mathieu Desnoyers mathieu.desnoyers@efficios.com Signed-off-by: Paul E. McKenney paulmck@linux.vnet.ibm.com Cc: Andrew Lunn andrew@lunn.ch Cc: Simon Wunderlich siwu@hrz.tu-chemnitz.de Cc: Marek Lindner lindner_marek@yahoo.de Cc: Sven Eckelmann sven.eckelmann@gmx.de Signed-off-by: Greg Kroah-Hartman gregkh@suse.de Signed-off-by: Sven Eckelmann sven.eckelmann@gmx.de
Modified: trunk/batman-adv-kernelland/hard-interface.c =================================================================== --- trunk/batman-adv-kernelland/hard-interface.c 2010-05-17 08:18:55 UTC (rev 1658) +++ trunk/batman-adv-kernelland/hard-interface.c 2010-05-17 08:32:46 UTC (rev 1659) @@ -341,7 +341,6 @@ batman_if->if_num = -1; batman_if->net_dev = net_dev; batman_if->if_status = IF_NOT_IN_USE; - INIT_RCU_HEAD(&batman_if->rcu); INIT_LIST_HEAD(&batman_if->list);
check_known_mac_addr(batman_if->net_dev->dev_addr);