git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122f81d
)
mtd: doc: do not initialize mtd_info fields to 0 or NULL
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Thu, 29 Dec 2011 09:40:00 +0000
(11:40 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:25:53 +0000
(18:25 +0000)
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>
No differences found