From: Michal Kazior Date: Tue, 25 Nov 2014 14:16:04 +0000 (+0100) Subject: ath10k: clean up num_peers locking X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~28^2~42^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=292a753d4b184ba6303d026edfe4e34145ce6905;p=pandora-kernel.git ath10k: clean up num_peers locking The var was supposed to be protected by data_lock but it wasn't so in all instances. It's actually not necessary to have a spinlock protected num_peers so drop it. All instances of num_peers are already within conf_mutex sections so use that. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed