From 6943a3815c6384baa20c72e860f47c29e1932e45 Mon Sep 17 00:00:00 2001 From: e1000-devel Date: Fri, 6 Oct 2023 16:14:53 +0200 Subject: [PATCH] remove ptp_system_timestamp for fix build failure Conflict:NA Reference:https://github.com/dmarion/i40e/commit/6943a3815c6384baa20c72e860f47c29e1932e45 --- src/kcompat.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/kcompat.h b/src/kcompat.h index 8a2d5e0..7a0a66e 100644 --- a/src/kcompat.h +++ b/src/kcompat.h @@ -6936,23 +6936,6 @@ _kc_dev_change_flags(struct net_device *netdev, unsigned int flags, RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8,0)) || \ (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,1))) #define HAVE_PTP_SYS_OFFSET_EXTENDED_IOCTL -#else /* RHEL >= 7.7 && RHEL < 8.0 || RHEL >= 8.1 */ -struct ptp_system_timestamp { - struct timespec64 pre_ts; - struct timespec64 post_ts; -}; - -static inline void -ptp_read_system_prets(struct ptp_system_timestamp __always_unused *sts) -{ - ; -} - -static inline void -ptp_read_system_postts(struct ptp_system_timestamp __always_unused *sts) -{ - ; -} #endif /* !(RHEL >= 7.7 && RHEL != 8.0) */ #if (RHEL_RELEASE_CODE && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,1))) #define HAVE_NDO_BRIDGE_SETLINK_EXTACK -- 2.23.0