From: Honggang Li <honli@xxxxxxxxxx> Signed-off-by: Honggang Li <honli@xxxxxxxxxx> --- include/complib/cl_types.h | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/include/complib/cl_types.h b/include/complib/cl_types.h index a773e51c..8ee1106b 100644 --- a/include/complib/cl_types.h +++ b/include/complib/cl_types.h @@ -191,11 +191,11 @@ typedef uint64_t net64_t; #endif /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Function Returns And Completion Codes %% -%% %% -%% The text for any addition to this enumerated type must be added to the %% -%% string array defined in <cl_statustext.c>. %% -%% %% +%% Function Returns And Completion Codes %% +%% %% +%% The text for any addition to this enumerated type must be added to the %% +%% string array defined in <cl_statustext.c>. %% +%% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ /****d* Component Library/Data Types @@ -295,37 +295,6 @@ typedef int cl_status_t; /* Status values above converted to text for easier printing. */ extern const char *cl_status_text[]; -#ifndef cl_panic -/****f* Component Library: Error Trapping/cl_panic -* NAME -* cl_panic -* -* DESCRIPTION -* Halts execution of the current process. Halts the system if called in -* from the kernel. -* -* SYNOPSIS -*/ -void cl_panic(IN const char *const message, IN ...); -/* -* PARAMETERS -* message -* [in] ANSI string formatted identically as for a call to the standard C -* function printf describing the cause for the panic. -* -* ... -* [in] Extra parameters for string formatting, as defined for the -* standard C function printf. -* -* RETURN VALUE -* This function does not return. -* -* NOTES -* The formatting of the message string is the same as for printf -* -* cl_panic sends the message to the current message logging target. -*********/ -#endif /* cl_panic */ /****d* Component Library: Data Types/CL_STATUS_MSG * NAME -- 2.14.4