mirror of https://gitee.com/openkylin/linux.git
net: marvell: Delete duplicate word in comments
Delete duplicate word in two comments. Signed-off-by: Yangyang Li <liyangyang20@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0bc7f8d54a
commit
b52f642548
|
@ -4175,9 +4175,7 @@ static void mvneta_percpu_elect(struct mvneta_port *pp)
|
||||||
rxq_map |= MVNETA_CPU_RXQ_ACCESS(rxq);
|
rxq_map |= MVNETA_CPU_RXQ_ACCESS(rxq);
|
||||||
|
|
||||||
if (cpu == elected_cpu)
|
if (cpu == elected_cpu)
|
||||||
/* Map the default receive queue queue to the
|
/* Map the default receive queue to the elected CPU */
|
||||||
* elected CPU
|
|
||||||
*/
|
|
||||||
rxq_map |= MVNETA_CPU_RXQ_ACCESS(pp->rxq_def);
|
rxq_map |= MVNETA_CPU_RXQ_ACCESS(pp->rxq_def);
|
||||||
|
|
||||||
/* We update the TX queue map only if we have one
|
/* We update the TX queue map only if we have one
|
||||||
|
|
|
@ -1617,7 +1617,7 @@ static void genesis_mac_init(struct skge_hw *hw, int port)
|
||||||
xm_write16(hw, port, XM_TX_THR, 512);
|
xm_write16(hw, port, XM_TX_THR, 512);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable the reception of all error frames. This is is
|
* Enable the reception of all error frames. This is
|
||||||
* a necessary evil due to the design of the XMAC. The
|
* a necessary evil due to the design of the XMAC. The
|
||||||
* XMAC's receive FIFO is only 8K in size, however jumbo
|
* XMAC's receive FIFO is only 8K in size, however jumbo
|
||||||
* frames can be up to 9000 bytes in length. When bad
|
* frames can be up to 9000 bytes in length. When bad
|
||||||
|
|
Loading…
Reference in New Issue