gstreamer: ptp-helper: Don't import Context trait multiple times unnecessarily

This only affected the Solaris / Illumos code path.

Patch by Marcel Telka <marcel@telka.sk>.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3551

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6947>
This commit is contained in:
Sebastian Dröge 2024-05-26 12:31:33 +03:00 committed by Backport Bot
parent c97ec122d9
commit c36296895f

View file

@ -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(|| {