]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/ath6kl/htc_mbox.c
Merge remote-tracking branch 'sound-current/for-linus'
[karo-tx-linux.git] / drivers / net / wireless / ath / ath6kl / htc_mbox.c
index e481f14b98787e88354278d26e3c59615ff2851c..fffb65b3e6526428f1758620c219a9cbaf784e08 100644 (file)
@@ -1085,9 +1085,7 @@ static int htc_setup_tx_complete(struct htc_target *target)
        send_pkt->completion = NULL;
        ath6kl_htc_tx_prep_pkt(send_pkt, 0, 0, 0);
        status = ath6kl_htc_tx_issue(target, send_pkt);
-
-       if (send_pkt != NULL)
-               htc_reclaim_txctrl_buf(target, send_pkt);
+       htc_reclaim_txctrl_buf(target, send_pkt);
 
        return status;
 }