diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2023-03-29 11:50:44 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-07-06 10:58:49 -0700 |
commit | 6d7467957ecdc9018fb860bb60738e997abeaecb (patch) | |
tree | 09260d1f708c22274448d827ed0471f8abfd1588 /tools/perf/scripts/python/sched-migration.py | |
parent | 755a22c74345a7b4c18dbb86f553eeb7895a97c9 (diff) |
apparmor: Return directly after a failed kzalloc() in two functions
1. Return directly after a call of the function “kzalloc” failed
at the beginning in these function implementations.
2. Omit extra initialisations (for a few local variables)
which became unnecessary with this refactoring.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions