aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-01-09 08:50:35 +0000
committerBoris Brezillon <[email protected]>2018-01-16 14:23:22 +0000
commit0aede42e98e0dfc64534617332b6a120cfcfe850 (patch)
tree7d6710c5174875f0032699bcf107fe1a7d7d1fd0 /scripts/gcc-plugins/randomize_layout_plugin.c
parentmtd: Fallback to ->_read/write_oob() when ->_read/write() is missing (diff)
downloadkernel-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