From: Gu Zheng Date: Wed, 3 Dec 2014 02:19:52 +0000 (+0800) Subject: mtd: mtdblock: remove the needless mtdblks_lock X-Git-Tag: fixes-v4.0-rc1~67^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=362376a7c65936835f39ff29b082a646d522efbc;p=pandora-kernel.git mtd: mtdblock: remove the needless mtdblks_lock The global lock mtdblks_lock was used to protect the original mtdblks array to avoid race conditions. As the mtdblks array was already gone, but the mtdblks_lock is left, and it causes latency when open/release dev. So we need to remove it here. Signed-off-by: Gu Zheng Signed-off-by: Brian Norris --- Reading git-diff-tree failed