]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: Remove redundant mutex from mtd_blkdevs.c
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 30 Oct 2010 11:39:21 +0000 (12:39 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 30 Oct 2010 11:39:21 +0000 (12:39 +0100)
commit0b0959800253b470c7d24b1e859d5006959629ef
treee6e4e4dc5a4679b7a81d75090db767ab770e5705
parenta26211fca51426723ba7ac4c8d622f7df12b1167
mtd: Remove redundant mutex from mtd_blkdevs.c

In commit f525a846c435ad400506edd5216e88b775c3e63f ('block: autoconvert
trivial BKL users to private mutex'), Arnd replaced the BKL usage with a
mutex. However, Maxim has already provided a better fix in commit
7e519f26d94811a32459c2319bd152602e5433d7 ('mtd: blktrans: kill BKL'),
which was simply to remove the BKL without replacing it — since he'd
already made it do all necessary locking for itself.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c