aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2014-04-07 15:38:00 -0700
committerLinus Torvalds <[email protected]>2014-04-07 16:35:59 -0700
commitbe2d1d56c82d8cf20e6c77515eb499f8e86eb5be (patch)
tree606cd42199fc3bf58da1f1ce00ed6b9b98c7cca5 /tools/perf/scripts/python
parented12d845b5f528cc0846023862b9c448a36122ec (diff)
zram: drop `init_done' struct zram member
Introduce init_done() helper function which allows us to drop `init_done' struct zram member. init_done() uses the fact that ->init_done == 1 equals to ->meta != NULL. Signed-off-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[email protected]> Acked-by: Jerome Marchand <[email protected]> Cc: Nitin Gupta <[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