summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2010-10-09 13:35:13 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-10-11 15:04:22 -0400
commit74374725cdf466629fd401a81b3a04e4cdb0815f (patch)
treebfea0efacf7b23e564635351a5980a07eab51b2b
parentc6084d5fa2e70a436ab944066146de01819f5493 (diff)
downloadop-kernel-dev-74374725cdf466629fd401a81b3a04e4cdb0815f.zip
op-kernel-dev-74374725cdf466629fd401a81b3a04e4cdb0815f.tar.gz
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: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/rt2x00/rt2800pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
index 85a134c..cc4e17c 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
@@ -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;
OpenPOWER on IntegriCloud