]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: rcar_gen4_ptp: Remove unused defines
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 4 Nov 2025 22:24:18 +0000 (23:24 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Nov 2025 01:38:25 +0000 (17:38 -0800)
The driver specific flags to control packet time stamps have all been
replaced by values from enum hwtstamp_tx_types and enum
hwtstamp_rx_filters. Remove the driver specific flags as there are no
more users.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251104222420.882731-6-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/rcar_gen4_ptp.h

index 1a1e43add129b2732b16f853814bf7c8c8c2cb06..9a9c232c854ef46bdb96f3f5765e5ae15967b082 100644 (file)
@@ -9,15 +9,6 @@
 
 #include <linux/ptp_clock_kernel.h>
 
-/* driver's definitions */
-#define RCAR_GEN4_RXTSTAMP_ENABLED             BIT(0)
-#define RCAR_GEN4_RXTSTAMP_TYPE_V2_L2_EVENT    BIT(1)
-#define RCAR_GEN4_RXTSTAMP_TYPE_ALL            (RCAR_GEN4_RXTSTAMP_TYPE_V2_L2_EVENT | BIT(2))
-#define RCAR_GEN4_RXTSTAMP_TYPE                        RCAR_GEN4_RXTSTAMP_TYPE_ALL
-
-#define RCAR_GEN4_TXTSTAMP_ENABLED             BIT(0)
-
-
 struct rcar_gen4_ptp_private {
        void __iomem *addr;
        struct ptp_clock *clock;