Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: mt76: Remove an unneeded local variable in mt76x02_dma_init()

Remove 't' which is unneeded since commit f3950a414143 ("mt76: set
txwi_size according to the driver value")

This slightly simplifies the code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/e86d5602bdd8b6bd22258ee69536992f39470bf5.1744928865.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Felix Fietkau <nbd@nbd.name>

authored by

Christophe JAILLET and committed by
Felix Fietkau
939481cd d9bc6258

-1
-1
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c
··· 174 174 175 175 int mt76x02_dma_init(struct mt76x02_dev *dev) 176 176 { 177 - struct mt76_txwi_cache __maybe_unused *t; 178 177 int i, ret, fifo_size; 179 178 struct mt76_queue *q; 180 179 void *status_fifo;