diff options
| author | Ilpo Järvinen <[email protected]> | 2024-07-31 09:53:45 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-08-02 14:22:11 +0000 |
| commit | 3745de7f2d00d44e098a2cae148cd9c1f1534070 (patch) | |
| tree | 9c47621bc097b801fe2c0ff13936d9e04167c3ff /security/selinux/hooks.c | |
| parent | ACPI: battery: Use strscpy() instead of strcpy() (diff) | |
| download | kernel-3745de7f2d00d44e098a2cae148cd9c1f1534070.tar.gz kernel-3745de7f2d00d44e098a2cae148cd9c1f1534070.zip | |
ACPI: battery: Remove redundant NULL initalizations
A local 'battery' variable is initialized to NULL on two occassions
where it is unconditionally rewritten later. Remove the unnecessary
initializations.
Signed-off-by: Ilpo Järvinen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
