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)
commit8cc9de3ebdf654601db51a516267dff89c49acc3
treee6e4e4dc5a4679b7a81d75090db767ab770e5705
parent67577927e8d7a1f4b09b4992df640eadc6aacb36
mtd: Remove redundant mutex from mtd_blkdevs.c

In commit 2a48fc0ab24241755dc93bfd4f01d68efab47f5a ('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
480792b7bf188c29b8d4b10fee65c3a06ec5dbf7 ('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