Commit a0709dfd authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo

ath10k: wmi: remove redundant integer fc

Variable fc is being assigned but never used, so remove it. Cleans
up the clang warning:

warning: Value stored to 'fc' is never read
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent f39a5c01
...@@ -2494,7 +2494,6 @@ ath10k_wmi_tlv_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) ...@@ -2494,7 +2494,6 @@ ath10k_wmi_tlv_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu)
void *ptr; void *ptr;
int len; int len;
u32 buf_len = msdu->len; u32 buf_len = msdu->len;
u16 fc;
struct ath10k_vif *arvif; struct ath10k_vif *arvif;
dma_addr_t mgmt_frame_dma; dma_addr_t mgmt_frame_dma;
u32 vdev_id; u32 vdev_id;
...@@ -2503,7 +2502,6 @@ ath10k_wmi_tlv_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) ...@@ -2503,7 +2502,6 @@ ath10k_wmi_tlv_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu)
return ERR_PTR(-EINVAL); return ERR_PTR(-EINVAL);
hdr = (struct ieee80211_hdr *)msdu->data; hdr = (struct ieee80211_hdr *)msdu->data;
fc = le16_to_cpu(hdr->frame_control);
arvif = (void *)cb->vif->drv_priv; arvif = (void *)cb->vif->drv_priv;
vdev_id = arvif->vdev_id; vdev_id = arvif->vdev_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment