commit | cdfe5ed0f271f1d5693fbd68809cc7e0e6c3af66 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Tue Dec 27 17:59:04 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:24:48 2012 +0000 |
tree | 5eebdd21c7a74274370708e642f687ab5d33945d | |
parent | 4a42243886b87cd28a39b192161767c2af851a55 [diff] |
mtd: lpddr: drop unnecessary zeroing We allocate the "mtd" structure using kzalloc which means we do not have to initialize unused MTD function pointers to NULL, since it is safe to assume in Linux that NULL contains all zeroes. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>