diff mbox series

[opensm] complib/cl_event_wheel.h: Eliminate unneeded field in cl_event_wheel_reg_info_t

Message ID 400e729f-b981-d092-1637-5022ee50f87f@dev.mellanox.co.il (mailing list archive)
State Not Applicable
Headers show
Series [opensm] complib/cl_event_wheel.h: Eliminate unneeded field in cl_event_wheel_reg_info_t | expand

Commit Message

Hal Rosenstock Nov. 2, 2018, 12:14 p.m. UTC
In event wheel registration structure, p_event_wheel is not used

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 include/complib/cl_event_wheel.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Honggang LI Nov. 2, 2018, 1:20 p.m. UTC | #1
On Fri, Nov 02, 2018 at 08:14:50AM -0400, Hal Rosenstock wrote:
> 
> In event wheel registration structure, p_event_wheel is not used
> 
> Signed-off-by: Hal Rosenstock <hal@mellanox.com>
> ---
>  include/complib/cl_event_wheel.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/include/complib/cl_event_wheel.h b/include/complib/cl_event_wheel.h
> index 4883353..956fcfa 100644
> --- a/include/complib/cl_event_wheel.h
> +++ b/include/complib/cl_event_wheel.h
> @@ -189,7 +189,6 @@ typedef struct _cl_event_wheel_reg_info {
>  	uint64_t aging_time;
>  	uint32_t num_regs;
>  	void *context;
> -	cl_event_wheel_t *p_event_wheel;
>  } cl_event_wheel_reg_info_t;
>  /*
>  * FIELDS
> @@ -214,9 +213,6 @@ typedef struct _cl_event_wheel_reg_info {
>  *	context
>  *		Client's context for event-aged callback.
>  *
> -*	p_event_wheel
> -*		Pointer to this event wheel object
> -*
>  * SEE ALSO
>  *********/
>  

Acked-by: Honggang Li <honli@redhat.com>

thanks
> -- 
> 2.8.4
>
diff mbox series

Patch

diff --git a/include/complib/cl_event_wheel.h b/include/complib/cl_event_wheel.h
index 4883353..956fcfa 100644
--- a/include/complib/cl_event_wheel.h
+++ b/include/complib/cl_event_wheel.h
@@ -189,7 +189,6 @@  typedef struct _cl_event_wheel_reg_info {
 	uint64_t aging_time;
 	uint32_t num_regs;
 	void *context;
-	cl_event_wheel_t *p_event_wheel;
 } cl_event_wheel_reg_info_t;
 /*
 * FIELDS
@@ -214,9 +213,6 @@  typedef struct _cl_event_wheel_reg_info {
 *	context
 *		Client's context for event-aged callback.
 *
-*	p_event_wheel
-*		Pointer to this event wheel object
-*
 * SEE ALSO
 *********/