summaryrefslogtreecommitdiffstats
path: root/fs/logfs
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-27 17:59:04 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 18:24:48 +0000
commitcdfe5ed0f271f1d5693fbd68809cc7e0e6c3af66 (patch)
tree5eebdd21c7a74274370708e642f687ab5d33945d /fs/logfs
parent4a42243886b87cd28a39b192161767c2af851a55 (diff)
downloadop-kernel-dev-cdfe5ed0f271f1d5693fbd68809cc7e0e6c3af66.zip
op-kernel-dev-cdfe5ed0f271f1d5693fbd68809cc7e0e6c3af66.tar.gz
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>
Diffstat (limited to 'fs/logfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud