diff mbox series

[PULL,v1,04/12] hw/tpm: Do not include 'qemu/osdep.h' in header

Message ID 20200623114114.1375104-5-stefanb@linux.vnet.ibm.com
State New
Headers show
Series [PULL,v1,01/12] docs/specs/tpm: Correct header path name | expand

Commit Message

Stefan Berger June 23, 2020, 11:41 a.m. UTC
From: Philippe Mathieu-Daudé <philmd@redhat.com>

From CODING_STYLE.rst:

  Do not include "qemu/osdep.h" from header files since the .c
  file will have already included it.

Remove "qemu/osdep.h" from "tpm_tis.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20200612085444.8362-5-philmd@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
---
 hw/tpm/tpm_tis.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h
index 5554989395..f6b5872ba6 100644
--- a/hw/tpm/tpm_tis.h
+++ b/hw/tpm/tpm_tis.h
@@ -24,7 +24,6 @@ 
 #ifndef TPM_TPM_TIS_H
 #define TPM_TPM_TIS_H
 
-#include "qemu/osdep.h"
 #include "sysemu/tpm_backend.h"
 #include "tpm_ppi.h"