Re: [PATCH 12/22] Remove apparently redundant assignment

Kris Van Hees
2024-09-14T16:38:01Z

On Thu, Aug 29, 2024 at 01:22:09AM -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/dt_aggregate.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libdtrace/dt_aggregate.c b/libdtrace/dt_aggregate.c
> index 8825739c..d87d49e8 100644
> --- a/libdtrace/dt_aggregate.c
> +++ b/libdtrace/dt_aggregate.c
> @@ -621,7 +621,6 @@ dt_aggregate_snap_one(dtrace_hdl_t *dtp, int aggid, int cpu, const char *key,
> }
>
> /* Skip if data gen is older than hash gen. */
> - hgen = *(int64_t *)agd->dtada_data;
> if (dgen < hgen)
> return 0;
>
> --
> 2.43.5
>