Skip to content
Commit 8cc9de3e authored by David Woodhouse's avatar David Woodhouse
Browse files

mtd: Remove redundant mutex from mtd_blkdevs.c



In commit 2a48fc0a ('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
480792b7 ('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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 67577927
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment