Skip to content

Commit 428bef3

Browse files
committed
[gmac] fix warning
1 parent 902d112 commit 428bef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mediatek/mtk_eth_soc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ static int mtk_tx_map(struct sk_buff *skb, struct net_device *dev,
707707
dma_addr_t mapped_addr;
708708
unsigned int nr_frags;
709709
int i, n_desc = 1;
710-
u32 txd3 = 0, txd4 = 0, fport;
710+
u32 txd3 = 0, txd4 = 0, fport = 0;
711711

712712
itxd = ring->next_free;
713713
if (itxd == ring->last_free)

0 commit comments

Comments
 (0)