summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/mac.h
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2022-05-22 22:49:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-06 08:58:40 +0300
commitd371f5fd4f840fdc076a3573ad6361ee76f25c95 (patch)
treeba6aca631a15fd8317e6528ed0c4c151ae6db7bb /drivers/staging/vt6655/mac.h
parentdc59b9bdddecf92fba40a533f4dea8f46bd99b8b (diff)
downloadlinux-d371f5fd4f840fdc076a3573ad6361ee76f25c95.tar.xz
staging: vt6655: Replace MACvRx1PerPktMode with VNSvOutPortD
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@gmail.com> Link: https://lore.kernel.org/r/9cb643b9554e33f5be7a2babefbed5eccca14625.1653203927.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/mac.h')
-rw-r--r--drivers/staging/vt6655/mac.h3
1 files changed, 0 insertions, 3 deletions
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; \