diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-12-29 11:40:00 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 18:25:53 +0000 |
commit | bea7fe031e5b81629f264f48335f1af74900f4b9 (patch) | |
tree | bbbaa526668a53dd1d4fbdc14b7b01ad4d3e8e8a /drivers/mtd/tests | |
parent | 122f81d773a464220d64f1a382bde073df281d5a (diff) | |
download | op-kernel-dev-bea7fe031e5b81629f264f48335f1af74900f4b9.zip op-kernel-dev-bea7fe031e5b81629f264f48335f1af74900f4b9.tar.gz |
mtd: doc: do not initialize mtd_info fields to 0 or NULL
The 'struct mtd_info' object is allocated with 'kzalloc()', so it
contains only zeroes - no need to initialize various fields to 0 or
NULL.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/tests')
0 files changed, 0 insertions, 0 deletions