aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2016-07-26 15:27:01 -0700
committerLinus Torvalds <[email protected]>2016-07-26 16:19:19 -0700
commitcb773df88a737d7d7e05ca7ca516414d3fcdcab8 (patch)
treec5115d320c993dbfb26f3948460df3c6d4720e27 /scripts/gdb/vmlinux-gdb.py
parent1fe4d021acbc356723818a633fe0a10c59c2a4c1 (diff)
cgroup: remove unnecessary 0 check from css_from_id()
css_idr allocation starts at 1, so index 0 will never point to an item. css_from_id() currently filters that before asking idr_find(), but idr_find() would also just return NULL, so this is not needed. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Johannes Weiner <[email protected]> Cc: Vladimir Davydov <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Nikolay Borisov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions