From 354623a246089e8b6b24750b7d120a33c9eb7c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 26 May 2024 12:31:33 +0300 Subject: [PATCH] gstreamer: ptp-helper: Don't import `Context` trait multiple times unnecessarily This only affected the Solaris / Illumos code path. Patch by Marcel Telka . Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3551 Part-of: --- subprojects/gstreamer/libs/gst/helpers/ptp/net.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/subprojects/gstreamer/libs/gst/helpers/ptp/net.rs b/subprojects/gstreamer/libs/gst/helpers/ptp/net.rs index 9882bd7265..c13cfd6dff 100644 --- a/subprojects/gstreamer/libs/gst/helpers/ptp/net.rs +++ b/subprojects/gstreamer/libs/gst/helpers/ptp/net.rs @@ -498,8 +498,6 @@ mod imp { #[cfg(any(target_os = "solaris", target_os = "illumos"))] { - use crate::error::Context; - socket .join_multicast_v4(addr, &iface.ip_addr) .with_context(|| {