summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/think-lmi.h
diff options
context:
space:
mode:
authorMark Pearson <markpearson@lenovo.com>2022-03-21 14:06:24 -0400
committerHans de Goede <hdegoede@redhat.com>2022-04-04 15:20:53 +0200
commit36560efeab3232aa18d1190f7202eb42ff29e0f4 (patch)
tree8657a5225a317bde16b043e8a463fcb4e139891d /drivers/platform/x86/think-lmi.h
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlwn-36560efeab3232aa18d1190f7202eb42ff29e0f4.tar.gz
lwn-36560efeab3232aa18d1190f7202eb42ff29e0f4.zip
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.h1
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;
};