diff options
| author | Boris Brezillon <[email protected]> | 2018-01-09 08:50:35 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2018-01-16 14:23:22 +0000 |
| commit | 0aede42e98e0dfc64534617332b6a120cfcfe850 (patch) | |
| tree | 7d6710c5174875f0032699bcf107fe1a7d7d1fd0 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing (diff) | |
| download | kernel-0aede42e98e0dfc64534617332b6a120cfcfe850.tar.gz kernel-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 <[email protected]>
[Remove redundant checks done in mtdpart.c]
Signed-off-by: Boris Brezillon <[email protected]>
Tested-by: Ladislav Michl <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
