Commit 2950833f authored by Wan Jiabing's avatar Wan Jiabing Committed by Kalle Valo
Browse files

ath9k: hif_usb: simplify if-if to if-else

parent a5f3aed5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -368,10 +368,9 @@ static int __hif_usb_tx(struct hif_device_usb *hif_dev)
		__skb_queue_head_init(&tx_buf->skb_queue);
		list_move_tail(&tx_buf->list, &hif_dev->tx.tx_buf);
		hif_dev->tx.tx_buf_cnt++;
	}

	if (!ret)
	} else {
		TX_STAT_INC(buf_queued);
	}

	return ret;
}