Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74374725 authored by Helmut Schaa's avatar Helmut Schaa Committed by John W. Linville
Browse files

rt2x00: Remove superfluous initialization of qidx



There is no need to initialize qidx to zero as it will ever be
overwritten by the correct value.

Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c6084d5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -573,7 +573,7 @@ static void rt2800pci_kick_tx_queue(struct data_queue *queue)
{
	struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
	struct queue_entry *entry = rt2x00queue_get_entry(queue, Q_INDEX);
	unsigned int qidx = 0;
	unsigned int qidx;

	if (queue->qid == QID_MGMT)
		qidx = 5;