aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2019-05-14 15:42:37 -0700
committerLinus Torvalds <[email protected]>2019-05-14 19:52:49 -0700
commit6c4e121fda519e0da5c6755a60fdef8cd39634ae (patch)
tree6e3ac0f2620159d6fdc1d117400b71bf16b11659 /tools/perf/scripts/python/export-to-sqlite.py
parente02c9b0d65a7493180db45320f82482c6ba8ea57 (diff)
kernel/user.c: clean up some leftover code
The out_unlock label is misleading; no unlocking happens after it, so just return NULL directly. Also, nothing between the kmem_cache_zalloc() that creates new and the two key_put() can initialize new->uid_keyring or new->session_keyring, so those calls are no-ops. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: "Peter Zijlstra (Intel)" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions