diff options
| author | Alexandru Moise <[email protected]> | 2015-11-05 18:45:43 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-11-05 19:34:48 -0800 |
| commit | 40911a798b5abbbec6b2e271a42addd6b26228a0 (patch) | |
| tree | 28804bff5d9fe24393ff8cc391138122bbf61ac3 /tools/perf/scripts/python | |
| parent | 76f8ec712aa94da9fbfc9c318edc89aa1e48006b (diff) | |
mm/slab_common.c: initialize kmem_cache pointer to NULL
The assignment to NULL within the error condition was written in a 2014
patch to suppress a compiler warning. However it would be cleaner to just
initialize the kmem_cache to NULL and just return it in case of an error
condition.
Signed-off-by: Alexandru Moise <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions