mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
staging: vt6655: Replace MACvTransmitBCN with VNSvOutPortB
Replace macro MACvTransmitBCN with VNSvOutPortB 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/698ce973d92065846a9db4339f017cd9e094706e.1651957741.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7436b3ea27
commit
b3e5e492ad
|
|
@ -651,9 +651,6 @@ do { \
|
|||
VNSvOutPortD(iobase + MAC_REG_AC0DMACTL, DMACTL_RUN); \
|
||||
} while (0)
|
||||
|
||||
#define MACvTransmitBCN(iobase) \
|
||||
VNSvOutPortB(iobase + MAC_REG_BCNDMACTL, BEACON_READY)
|
||||
|
||||
#define MACvClearStckDS(iobase) \
|
||||
do { \
|
||||
unsigned char byOrgValue; \
|
||||
|
|
|
|||
|
|
@ -1426,7 +1426,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv,
|
|||
/* Set auto Transmit on */
|
||||
MACvRegBitsOn(priv->port_offset, MAC_REG_TCR, TCR_AUTOBCNTX);
|
||||
/* Poll Transmit the adapter */
|
||||
MACvTransmitBCN(priv->port_offset);
|
||||
VNSvOutPortB(priv->port_offset + MAC_REG_BCNDMACTL, BEACON_READY);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user