svn commit: r260054 - head/sys/dev/tpm

Dimitry Andric dim at FreeBSD.org
Sun Dec 29 19:55:07 UTC 2013


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


More information about the svn-src-all mailing list