diff mbox series

[v2,2/2] ravb: Drop unused RAVB_{R,T}XTSTAMP_VALID macros

Message ID 20200409094851.22142-2-dirk.behme@de.bosch.com (mailing list archive)
State Under Review
Delegated to: Geert Uytterhoeven
Headers show
Series [v2,1/2] ravb: Fix RAVB_RXTSTAMP_TYPE_ALL value | expand

Commit Message

Dirk Behme April 9, 2020, 9:48 a.m. UTC
These macros are unused, we can safely drop them.

Cleanup only, no functional change.

Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
---
Changes in v2: Split fix and cleanup into two patches.

 drivers/net/ethernet/renesas/ravb.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Sergei Shtylyov April 16, 2020, 9:55 a.m. UTC | #1
On 09.04.2020 12:48, Dirk Behme wrote:

> These macros are unused, we can safely drop them.
> 
> Cleanup only, no functional change.
> 
> Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>

Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

> ---
> Changes in v2: Split fix and cleanup into two patches.

    Don't mix fixes and cleanups in the same series, especially in the 
networking area -- the fixes are merged to the net.git repo and cleanups are 
merged to the net-next.git repo...

[...]

MBR, Sergei
diff mbox series

Patch

diff --git a/drivers/net/ethernet/renesas/ravb.h b/drivers/net/ethernet/renesas/ravb.h
index e921eae82022..5a05b74a6fe6 100644
--- a/drivers/net/ethernet/renesas/ravb.h
+++ b/drivers/net/ethernet/renesas/ravb.h
@@ -35,10 +35,8 @@ 
 #define RAVB_ALIGN	128
 
 /* Hardware time stamp */
-#define RAVB_TXTSTAMP_VALID	0x00000001	/* TX timestamp valid */
 #define RAVB_TXTSTAMP_ENABLED	0x00000010	/* Enable TX timestamping */
 
-#define RAVB_RXTSTAMP_VALID	0x00000001	/* RX timestamp valid */
 #define RAVB_RXTSTAMP_TYPE	0x00000006	/* RX type mask */
 #define RAVB_RXTSTAMP_TYPE_V2_L2_EVENT 0x00000002
 #define RAVB_RXTSTAMP_TYPE_ALL	0x00000004