[PATCH v2 07/10] net: mvpp2: remove unused define MVPP22_SMI_PHY_ADDR_REG

Ramon Fried rfried.dev at gmail.com
Mon May 3 21:41:33 CEST 2021


On Mon, May 3, 2021 at 9:09 AM Stefan Roese <sr at denx.de> wrote:
>
> From: Ben Peled <bpeled at marvell.com>
>
> Signed-off-by: Ben Peled <bpeled at marvell.com>
> Reviewed-by: Stefan Chulski <stefanc at marvell.com>
> Reviewed-by: Kostya Porotchkin <kostap at marvell.com>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>
> (no changes since v1)
>
>  drivers/net/mvpp2.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
> index 879289452b15..61a0ea0894a7 100644
> --- a/drivers/net/mvpp2.c
> +++ b/drivers/net/mvpp2.c
> @@ -490,9 +490,6 @@ do {                                                                        \
>  #define MVPP22_SMI_MISC_CFG_REG                        (MVPP22_SMI + 0x04)
>  #define      MVPP22_SMI_POLLING_EN             BIT(10)
>
> -#define MVPP22_SMI_PHY_ADDR_REG(port)          (MVPP22_SMI + 0x04 + \
> -                                                (0x4 * (port)))
> -
>  #define MVPP2_CAUSE_TXQ_SENT_DESC_ALL_MASK     0xff
>
>  /* Descriptor ring Macros */
> --
> 2.31.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list