From: Johannes Berg Date: Thu, 12 May 2011 13:03:32 +0000 (+0200) Subject: mac80211: remove pointless mesh path timer RCU code X-Git-Tag: v3.0-rc1~377^2~54^2^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dea4096bc41a9642039840ced91e585d04883a16;p=pandora-kernel.git mac80211: remove pointless mesh path timer RCU code The code here to RCU-dereference a pointer that's on the stack is totally pointless, RCU isn't magic (like say Java's weak references are), so the code can't work like whoever wrote it thought it might. Remove it so readers don't get confused. Note that it seems that a bug is there anyway: I don't see any code that cancels the timer when a mesh path struct is destroyed. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed