aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2011-08-09 16:12:23 -0500
committerPekka Enberg <[email protected]>2011-08-19 19:34:25 +0300
commit7db0d7054048da140798d8bfdd7fff5f74f85abf (patch)
treee23816d3d5a6c25ec1037989ce4857e96440a0fa /tools/perf/util/scripting-engines/trace-event-python.c
parent69cb8e6b7c2982e015d2b35a34ac2674c79e801c (diff)
slub: Remove useless statements in __slab_alloc
Two statements in __slab_alloc() do not have any effect. 1. c->page is already set to NULL by deactivate_slab() called right before. 2. gfpflags are masked in new_slab() before being passed to the page allocator. There is no need to mask gfpflags in __slab_alloc in particular since most frequent processing in __slab_alloc does not require the use of a gfpmask. Cc: [email protected] Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions