Replace macro MACvRx1PerPktMode with VNSvOutPortD and as it was the only user, it can now be removed. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx> --- drivers/staging/vt6655/card.c | 2 +- drivers/staging/vt6655/mac.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index e907dfd58d1f..57ed2120dbc1 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -453,7 +453,7 @@ void CARDvSafeResetRx(struct vnt_private *priv) /* set perPkt mode */ VNSvOutPortD(priv->port_offset + MAC_REG_RXDMACTL0, RX_PERPKT); - MACvRx1PerPktMode(priv->port_offset); + VNSvOutPortD(priv->port_offset + MAC_REG_RXDMACTL1, RX_PERPKT); /* set MAC RD pointer */ MACvSetCurrRx0DescAddr(priv, priv->rd0_pool_dma); diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 161130084936..b68e21c62d2b 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -589,9 +589,6 @@ do { \ iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ } while (0) -#define MACvRx1PerPktMode(iobase) \ - VNSvOutPortD(iobase + MAC_REG_RXDMACTL1, RX_PERPKT) - #define MACvReceive0(iobase) \ do { \ unsigned long dwData; \ -- 2.25.1