Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions drivers/net/ethernet/spacemit/k1_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@

struct desc_buf {
u64 dma_addr;
void *buff_addr;
u16 dma_len;
u8 map_as_page;
};
Expand All @@ -70,7 +69,6 @@ struct emac_tx_desc_buffer {
struct emac_rx_desc_buffer {
struct sk_buff *skb;
u64 dma_addr;
void *buff_addr;
u16 dma_len;
u8 map_as_page;
};
Expand Down Expand Up @@ -340,7 +338,6 @@ static void emac_free_tx_buf(struct emac_priv *priv, int i)

buf->dma_addr = 0;
buf->map_as_page = false;
buf->buff_addr = NULL;
}

if (tx_buf->skb) {
Expand Down