Skip to content
Commit c1cf1d57 authored by Mark Tomlinson's avatar Mark Tomlinson Committed by Miquel Raynal
Browse files

mtd: mtdoops: Don't write panic data twice



If calling mtdoops_write, don't also schedule work to be done later.

Although this appears to not be causing an issue, possibly because the
scheduled work will never get done, it is confusing.

Fixes: 016c1291 ("mtd: mtdoops: do not use mtd->panic_write directly")
Signed-off-by: default avatarMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200903034217.23079-1-mark.tomlinson@alliedtelesis.co.nz
parent 3fbe507e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment