Skip to content

Commit

Permalink
ath10k: sdio: remove struct ath10k_sdio_rx_data::status
Browse files Browse the repository at this point in the history
It seems to be unused.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Kalle Valo committed Nov 25, 2019
1 parent efd2f4c commit 2246c21
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/ath/ath10k/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ static int ath10k_sdio_mbox_rx_fetch(struct ath10k *ar)

htc_hdr = (struct ath10k_htc_hdr *)skb->data;
pkt->act_len = le16_to_cpu(htc_hdr->len) + sizeof(*htc_hdr);
pkt->status = ret;
skb_put(skb, pkt->act_len);

return ret;
Expand Down Expand Up @@ -687,7 +686,6 @@ static int ath10k_sdio_mbox_rx_fetch_bundle(struct ath10k *ar)
pkt->act_len = le16_to_cpu(htc_hdr->len) + sizeof(*htc_hdr);

skb_put_data(pkt->skb, htc_hdr, pkt->act_len);
pkt->status = 0;
pkt_offset += pkt->alloc_len;
}

Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath10k/sdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ struct ath10k_sdio_rx_data {
bool part_of_bundle;
bool last_in_bundle;
bool trailer_only;
int status;
};

struct ath10k_sdio_irq_proc_regs {
Expand Down

0 comments on commit 2246c21

Please sign in to comment.