diff options
| author | Ondrej Mosnacek <[email protected]> | 2019-03-25 08:11:15 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2019-03-25 14:25:06 +0000 |
| commit | 9e0cfe28fa32f6fefd831192a4d0b19c804c746b (patch) | |
| tree | 128cf5a7abfcc3f1756159be339abb81b72d550d /lib/test_stackinit.c | |
| parent | LSM: lsm_hooks.h - fix missing colon in docstring (diff) | |
| download | kernel-9e0cfe28fa32f6fefd831192a4d0b19c804c746b.tar.gz kernel-9e0cfe28fa32f6fefd831192a4d0b19c804c746b.zip | |
selinux: remove useless assignments
The code incorrectly assigned directly to the variables instead of the
values they point to. Since the values are already set to NULL/0 at the
beginning of the function, we can simply remove these useless
assignments.
Reported-by: Hariprasad Kelam <[email protected]>
Fixes: fede148324c3 ("selinux: log invalid contexts in AVCs")
Signed-off-by: Ondrej Mosnacek <[email protected]>
[PM: removed a bad comment that was causing compiler warnings]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
