> +static bool ath10k_htt_rx_h_frag_pn_check(struct ath10k *ar, > + struct sk_buff *skb, > + u16 peer_id, > + u16 offset, > + enum htt_rx_mpdu_encrypt_type enctype) > +{ > + struct ath10k_peer *peer; > + union htt_rx_pn_t *last_pn, new_pn = {0}; > + struct ieee80211_hdr *hdr; > + bool more_frags; The variable more_frags is not getting used. > + new_pn.pn48 = ath10k_htt_rx_h_get_pn(ar, skb, offset, enctype); > + more_frags = ieee80211_has_morefrags(hdr->frame_control); "more_frags is assigned here but not used anywhere. I have raised a patch for remove this, I have raised a patch for this, https://patchwork.kernel.org/project/linux-wireless/patch/20210514220644.1.Iad576de95836b74aba80a5fc28d7131940eca190@changeid/ -Abhishek