Skip to content
Commit 0aede42e authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: Remove duplicate checks on mtd_oob_ops parameter



Some of the check done in custom ->_read/write_oob() implementation are
already done by the core (in mtd_check_oob_ops()).

Suggested-by: default avatarPeter Pan <peterpansjtu@gmail.com>
[Remove redundant checks done in mtdpart.c]
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: default avatarLadislav Michl <ladis@linux-mips.org>
parent 24ff1292
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment