Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf81db30 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by Kalle Valo
Browse files

rt2x00: remove queue_entry from skbdesc



queue_entry field of skbdesc is not read any more, remove it to allow
skbdesc contain other data.

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 2ceb8137
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -83,7 +83,6 @@ struct sk_buff *rt2x00queue_alloc_rxskb(struct queue_entry *entry, gfp_t gfp)
	 */
	skbdesc = get_skb_frame_desc(skb);
	memset(skbdesc, 0, sizeof(*skbdesc));
	skbdesc->entry = entry;

	if (rt2x00_has_cap_flag(rt2x00dev, REQUIRE_DMA)) {
		dma_addr_t skb_dma;
@@ -689,7 +688,6 @@ int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb,
		goto out;
	}

	skbdesc->entry = entry;
	entry->skb = skb;

	/*
@@ -774,7 +772,6 @@ int rt2x00queue_update_beacon(struct rt2x00_dev *rt2x00dev,
	 */
	skbdesc = get_skb_frame_desc(intf->beacon->skb);
	memset(skbdesc, 0, sizeof(*skbdesc));
	skbdesc->entry = intf->beacon;

	/*
	 * Send beacon to hardware.
+0 −2
Original line number Diff line number Diff line
@@ -116,8 +116,6 @@ struct skb_frame_desc {
	__le32 iv[2];

	dma_addr_t skb_dma;

	struct queue_entry *entry;
};

/**