Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1300984

[PATCH] tpm: remove unneeded include of actbl2.h

From Jerry Snitselaar <jsnitsel@redhat.com>
Newsgroups linux.kernel
Subject [PATCH] tpm: remove unneeded include of actbl2.h
Date 2016-01-04 20:20 +0100
Message-ID <qNiPF-7CQ-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


tpm_tis.c already gets actbl2.h via linux/acpi.h -> acpi/acpi.h ->
acpi/actbl.h -> acpi/actbl2.h, so the direct include in tpm_tis.c
is not needed.

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
---

Jarrko, this is a trivial thing I noticed while doing some work.
Not sure if you guys care, but thought I'd send it in anyways.

 drivers/char/tpm/tpm_tis.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 65f7eec..461d486 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -28,7 +28,6 @@
 #include <linux/wait.h>
 #include <linux/acpi.h>
 #include <linux/freezer.h>
-#include <acpi/actbl2.h>
 #include "tpm.h"
 
 enum tis_access {
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] tpm: remove unneeded include of actbl2.h Jerry Snitselaar <jsnitsel@redhat.com> - 2016-01-04 20:20 +0100
  Re: [tpmdd-devel] [PATCH] tpm: remove unneeded include of actbl2.h Jerry Snitselaar <jsnitsel@redhat.com> - 2016-01-04 21:20 +0100
  Re: [PATCH] tpm: remove unneeded include of actbl2.h Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-01-05 07:50 +0100

csiph-web