summaryrefslogtreecommitdiffstats
path: root/lib/btree.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2018-01-09 09:50:35 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2018-01-16 15:23:22 +0100
commit0aede42e98e0dfc64534617332b6a120cfcfe850 (patch)
tree7d6710c5174875f0032699bcf107fe1a7d7d1fd0 /lib/btree.c
parentmtd: Fallback to ->_read/write_oob() when ->_read/write() is missing (diff)
downloadlinux-0aede42e98e0dfc64534617332b6a120cfcfe850.tar.xz
linux-0aede42e98e0dfc64534617332b6a120cfcfe850.zip
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: Peter Pan <peterpansjtu@gmail.com> [Remove redundant checks done in mtdpart.c] Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Tested-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions