diff options
author | 2017-04-04 11:33:53 +0200 | |
---|---|---|
committer | 2017-05-23 10:23:17 -0400 | |
commit | 46be14d2b6fbc20c9e7008ec8c28b40609ef6f22 (patch) | |
tree | 352a3b73065c2e39802068d2b38f3a6d25177533 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selinux: Return directly after a failed memory allocation in policydb_index() (diff) | |
download | linux-dev-46be14d2b6fbc20c9e7008ec8c28b40609ef6f22.tar.xz linux-dev-46be14d2b6fbc20c9e7008ec8c28b40609ef6f22.zip |
selinux: Return an error code only as a constant in sidtab_insert()
* Return an error code without storing it in an intermediate variable.
* Delete the local variable "rc" and the jump label "out" which became
unnecessary with this refactoring.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions