diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-02-28 02:02:30 -0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-03-11 15:21:48 -0700 |
commit | 0ec56dc4a1489d5b1d23d1c019b76a69ce153805 (patch) | |
tree | f3a80f7d26a2e57e409e02e4602a60217b2c8be5 /include/linux/mtd | |
parent | e22b7651ef23ad90eed4bdbe75f12194f47d7a4f (diff) |
mtd: nand: fully initialize mtd_oob_ops
We're not initializing the ooblen field. Our users don't care, since
they check that oobbuf == NULL first, but it's good practice to zero
unused fields out.
We can drop the NULL initializations since we're memset()ing the whole
thing.
Noticed by Coverity, CID #200821, #200822
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions