aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-03-08 19:14:47 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-19 11:11:55 +0300
commit9c80d953b2fd839d36795c7a55a4c525ec6e0cc8 (patch)
treeb680bcee804a539863ed0f7866c314afec15175a /backends
parent302cb24addd18213c615dfa57de22dcae4776d2a (diff)
backends: Fix warning from Sparse
Sparse report: backends/tpm.c:39:5: warning: returning void-valued expression Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'backends')
-rw-r--r--backends/tpm.c2
1 files changed, 1 insertions, 1 deletions
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,