diff options
| author | 2023-03-29 11:50:44 +0200 | |
|---|---|---|
| committer | 2023-07-06 10:58:49 -0700 | |
| commit | 6d7467957ecdc9018fb860bb60738e997abeaecb (patch) | |
| tree | 09260d1f708c22274448d827ed0471f8abfd1588 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | AppArmor: Fix some kernel-doc comments (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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
