diff options
author | Mark Pearson <markpearson@lenovo.com> | 2022-03-21 21:06:24 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-04-04 16:20:53 +0300 |
commit | 36560efeab3232aa18d1190f7202eb42ff29e0f4 (patch) | |
tree | 8657a5225a317bde16b043e8a463fcb4e139891d /drivers/platform/x86/think-lmi.h | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | linux-36560efeab3232aa18d1190f7202eb42ff29e0f4.tar.xz |
platform/x86: think-lmi: certificate support clean ups
Complete some clean-ups as reqested from the last review as follow-ups
- Remove certificate from structure as no need to store it any more
- Clean up return code handling
- Moved freeing of signature to before admin object released (issue
seen in testing when unloading module)
- Minor code flow improvements
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220321180624.4761-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/think-lmi.h')
-rw-r--r-- | drivers/platform/x86/think-lmi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/think-lmi.h b/drivers/platform/x86/think-lmi.h index 4f69df6eed07..4daba6151cd6 100644 --- a/drivers/platform/x86/think-lmi.h +++ b/drivers/platform/x86/think-lmi.h @@ -63,7 +63,6 @@ struct tlmi_pwd_setting { int index; /*Used for HDD and NVME auth */ enum level_option level; bool cert_installed; - char *certificate; char *signature; char *save_signature; }; |