From: Gal Pressman Date: Wed, 4 Sep 2024 07:49:14 +0000 (+0300) Subject: net: ti: icssg-prueth: Remove setting of RX software timestamp X-Git-Tag: v6.12-rc1~232^2~89^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5dbb6aeefbda74d8b523f291a7ac081c4c00aca;p=thirdparty%2Flinux.git net: ti: icssg-prueth: Remove setting of RX software timestamp The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran Reviewed-by: Rahul Rameshbabu Signed-off-by: Gal Pressman Reviewed-by: Roger Quadros Reviewed-by: MD Danish Anwar Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ti/icssg/icssg_ethtool.c b/drivers/net/ethernet/ti/icssg/icssg_ethtool.c index 5073ec1958541..73b6cef10401b 100644 --- a/drivers/net/ethernet/ti/icssg/icssg_ethtool.c +++ b/drivers/net/ethernet/ti/icssg/icssg_ethtool.c @@ -119,8 +119,6 @@ static int emac_get_ts_info(struct net_device *ndev, SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_TX_SOFTWARE | SOF_TIMESTAMPING_RX_HARDWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RAW_HARDWARE; info->phc_index = icss_iep_get_ptp_clock_idx(emac->iep);