rx skbuff is never NULL. Signed-off-by: Michal Kazior <michal.kaz...@tieto.com> --- drivers/net/wireless/ath/ath10k/wmi.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 3b819c8..2bb9411 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -1084,11 +1084,6 @@ static void ath10k_wmi_process_rx(struct ath10k *ar, struct sk_buff *skb) event_id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); - if (!skb) { - ath10k_warn("%s: missing skb\n", __func__); - return; - } - /* some events require to be handled ASAP * thus can't be defered to a worker thread */ switch (event_id) { -- 1.7.9.5 _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel