Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 19:55:07 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260054 - head/sys/dev/tpm
Message-ID:  <201312291955.rBTJt7r9089752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sun Dec 29 19:55:06 2013
New Revision: 260054
URL: http://svnweb.freebsd.org/changeset/base/260054

Log:
  In sys/dev/tpm/tpm.c, #if 0 an unused static function.
  
  MFC after:	3 days

Modified:
  head/sys/dev/tpm/tpm.c

Modified: head/sys/dev/tpm/tpm.c
==============================================================================
--- head/sys/dev/tpm/tpm.c	Sun Dec 29 19:32:27 2013	(r260053)
+++ head/sys/dev/tpm/tpm.c	Sun Dec 29 19:55:06 2013	(r260054)
@@ -1138,6 +1138,7 @@ tpm_legacy_in(bus_space_tag_t iot, bus_s
 	return bus_space_read_1(iot, ioh, 1);
 }
 
+#if 0
 /* Write single byte using legacy interface. */
 static inline void
 tpm_legacy_out(bus_space_tag_t iot, bus_space_handle_t ioh, int reg, u_int8_t v)
@@ -1145,6 +1146,7 @@ tpm_legacy_out(bus_space_tag_t iot, bus_
 	bus_space_write_1(iot, ioh, 0, reg);
 	bus_space_write_1(iot, ioh, 1, v);
 }
+#endif
 
 /* Probe for TPM using legacy interface. */
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291955.rBTJt7r9089752>