From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:55:16 +0000 (-0400) Subject: uprobes: Remove dead code X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e0d345140e84acd4f2716f6f0cc4824ffaf9df4b;p=lttng-modules.git uprobes: Remove dead code lttng_uprobes_destroy_event_notifier_private is now unused. Remove it. Signed-off-by: Mathieu Desnoyers Change-Id: Ia995c60691f68090b6853b2deb0d265b1d4a047e --- diff --git a/src/probes/lttng-uprobes.c b/src/probes/lttng-uprobes.c index edded1e9..5463251a 100644 --- a/src/probes/lttng-uprobes.c +++ b/src/probes/lttng-uprobes.c @@ -305,14 +305,6 @@ void lttng_uprobes_destroy_event_private(struct lttng_kernel_event_common *event } EXPORT_SYMBOL_GPL(lttng_uprobes_destroy_event_private); -void lttng_uprobes_destroy_event_notifier_private(struct lttng_kernel_event_notifier *event_notifier) -{ - iput(event_notifier->priv->parent.u.uprobe.inode); - kfree(event_notifier->priv->parent.desc->event_name); - kfree(event_notifier->priv->parent.desc); -} -EXPORT_SYMBOL_GPL(lttng_uprobes_destroy_event_notifier_private); - MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Yannick Brosseau"); MODULE_DESCRIPTION("Linux Trace Toolkit Uprobes Support");