Re: [PATCH 09/22] Clean up dtsd_* members

Kris Van Hees
2024-09-14T15:41:04Z

On Thu, Aug 29, 2024 at 01:22:06AM -0400, eugene.loh@oracle.com wrote:
> From: Eugene Loh <eugene.loh@oracle.com>
>
> Signed-off-by: Eugene Loh <eugene.loh@oracle.com>

Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>

> ---
> libdtrace/dtrace.h | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/libdtrace/dtrace.h b/libdtrace/dtrace.h
> index 8f40a581..09a87977 100644
> --- a/libdtrace/dtrace.h
> +++ b/libdtrace/dtrace.h
> @@ -146,10 +146,7 @@ extern void *dtrace_geterr_dof(dtrace_hdl_t *dtp);
> typedef struct dtrace_stmtdesc {
> dtrace_ecbdesc_t *dtsd_ecbdesc; /* ECB description */
> struct dt_ident *dtsd_clause; /* clause identifier */
> - void *dtsd_aggdata; /* aggregation data */
> - void *dtsd_fmtdata; /* type-specific output data */
> - void (*dtsd_callback)(); /* callback function for EPID */
> - void *dtsd_data; /* callback data pointer */
> + void *dtsd_fmtdata; /* type-specific output data */ /* FIXME: dead code */
> dtrace_attribute_t dtsd_descattr; /* probedesc attributes */
> dtrace_attribute_t dtsd_stmtattr; /* statement attributes */
> int dtsd_clauseflags; /* clause flags */
> --
> 2.43.5
>