mtd: char: Drop mtd_mutex usage from mtdchar_open()
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Wed, 17 Feb 2021 21:18:44 +0000 (22:18 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:49 +0000 (09:37 +0100)
commitecd400ce5f97e03aed6bef9bc4efb1befdbf779b
tree70ea916e0b7926b84dc807d440dc2739b6024902
parentcb4543054c5c4fd33df960b41d7b483ebca8e786
mtd: char: Drop mtd_mutex usage from mtdchar_open()

It looks unnecessary in the function, remove it from the function
having in mind to remove it completely.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210217211845.43364-1-alexander.sverdlin@nokia.com
drivers/mtd/mtdchar.c