diff options
| author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-12-03 10:19:52 +0800 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2015-01-07 12:51:56 -0800 |
| commit | 362376a7c65936835f39ff29b082a646d522efbc (patch) | |
| tree | 572f5ca2d9d560e265a31f198b5c8ef2e6810553 /lib/mpi/mpi-internal.h | |
| parent | 0b56d2d45e7c27581ca90f36b4317373f23e7622 (diff) | |
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 <guz.fnst@cn.fujitsu.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
