diff mbox series

[opensm] cl_types.h delete unimplemented function cl_panic

Message ID 20181016122458.15585-1-honli@redhat.com (mailing list archive)
State Not Applicable
Headers show
Series [opensm] cl_types.h delete unimplemented function cl_panic | expand

Commit Message

Honggang LI Oct. 16, 2018, 12:24 p.m. UTC
From: Honggang Li <honli@redhat.com>

Signed-off-by: Honggang Li <honli@redhat.com>
---
 include/complib/cl_types.h | 41 +++++------------------------------------
 1 file changed, 5 insertions(+), 36 deletions(-)

Comments

Hal Rosenstock Oct. 16, 2018, 2:27 p.m. UTC | #1
On 10/16/2018 8:24 AM, Honggang LI wrote:
> From: Honggang Li <honli@redhat.com>
> 
> Signed-off-by: Honggang Li <honli@redhat.com>

Thanks. Applied (in 2 separate patches).

-- Hal
diff mbox series

Patch

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