tpm2: Remove commented-out blocks

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2025-08-04 20:17:26 -04:00
parent 7b37afc1d2
commit d3e9240e84

View File

@ -333,46 +333,3 @@ bool _rpc__Signal_IsPowerOn(void)
}
/* libtpms added end */
#if 0
/* D.4 TPMCmdp.c */
/* D.4.1. Description */
/* This file contains the functions that process the commands received on the control port or the
command port of the simulator. The control port is used to allow simulation of hardware events
(such as, _TPM_Hash_Start()) to test the simulated TPM's reaction to those events. This improves
code coverage of the testing. */
/* D.4.2. Includes and Data Definitions */
#include <stdlib.h>
#include <stdio.h>
#include <setjmp.h>
#include <stdbool.h>
#include "TpmBuildSwitches.h"
#ifdef TPM_WINDOWS
#include <windows.h>
#include <winsock.h>
#endif
//#include "Platform_fp.h"
#include "PlatformACT_fp.h"
#include "ExecCommand_fp.h"
#include "Manufacture_fp.h"
#include "_TPM_Init_fp.h"
#include "_TPM_Hash_Start_fp.h"
#include "_TPM_Hash_Data_fp.h"
#include "_TPM_Hash_End_fp.h"
#include "TpmFail_fp.h"
#include "TpmTcpProtocol.h"
#include "Simulator_fp.h"
#ifdef TPM_WINDOWS
#include "TcpServer_fp.h" /* kgold */
#endif
#ifdef TPM_POSIX
#include "TcpServerPosix_fp.h" /* kgold */
#endif
#include "TpmProfile.h" /* kgold */
#define TPM_RH_ACT_0 0x40000110
#endif