svn commit: r260279 - in stable: 10/sys/dev/tpm 8/sys/dev/tpm 9/sys/dev/tpm

Dimitry Andric dim at FreeBSD.org
Sat Jan 4 19:13:26 UTC 2014


Author: dim
Date: Sat Jan  4 19:13:25 2014
New Revision: 260279
URL: http://svnweb.freebsd.org/changeset/base/260279

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

Modified:
  stable/9/sys/dev/tpm/tpm.c
Directory Properties:
  stable/9/sys/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/dev/tpm/tpm.c
  stable/8/sys/dev/tpm/tpm.c
Directory Properties:
  stable/10/   (props changed)
  stable/8/sys/   (props changed)

Modified: stable/9/sys/dev/tpm/tpm.c
==============================================================================
--- stable/9/sys/dev/tpm/tpm.c	Sat Jan  4 19:04:53 2014	(r260278)
+++ stable/9/sys/dev/tpm/tpm.c	Sat Jan  4 19:13:25 2014	(r260279)
@@ -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


More information about the svn-src-stable-9 mailing list