From 9c80d953b2fd839d36795c7a55a4c525ec6e0cc8 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 8 Mar 2015 19:14:47 +0100 Subject: [PATCH] backends: Fix warning from Sparse Sparse report: backends/tpm.c:39:5: warning: returning void-valued expression Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- backends/tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/tpm.c b/backends/tpm.c index 01860c4acb..4efe36736e 100644 --- a/backends/tpm.c +++ b/backends/tpm.c @@ -36,7 +36,7 @@ void tpm_backend_destroy(TPMBackend *s) { TPMBackendClass *k = TPM_BACKEND_GET_CLASS(s); - return k->ops->destroy(s); + k->ops->destroy(s); } int tpm_backend_init(TPMBackend *s, TPMState *state, -- 2.34.1