Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2014 19:13:26 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r260279 - in stable: 10/sys/dev/tpm 8/sys/dev/tpm 9/sys/dev/tpm
Message-ID:  <201401041913.s04JDQI7059358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/8/sys/dev/tpm/tpm.c
Directory Properties:
  stable/8/sys/   (props changed)

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

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



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