From: Philippe Mathieu-Daudé Date: Fri, 12 Jun 2020 08:54:36 +0000 (+0200) Subject: hw/tpm: Do not include 'qemu/osdep.h' in header X-Git-Tag: v5.1.0-rc0~54^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29ce02bfb9fc79fec151dd450f54655e9aff2c50;p=thirdparty%2Fqemu.git hw/tpm: Do not include 'qemu/osdep.h' in header 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é Reviewed-by: Stefan Berger Message-id: 20200612085444.8362-5-philmd@redhat.com Signed-off-by: Stefan Berger --- diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h index 55549893953..f6b5872ba63 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"