mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: change the return type of mt76_dma_attach()
There is no need to retun 0 in mt76_dma_attach(), so switch it to void. Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -553,10 +553,9 @@ static const struct mt76_queue_ops mt76_dma_ops = {
|
||||
.kick = mt76_dma_kick_queue,
|
||||
};
|
||||
|
||||
int mt76_dma_attach(struct mt76_dev *dev)
|
||||
void mt76_dma_attach(struct mt76_dev *dev)
|
||||
{
|
||||
dev->queue_ops = &mt76_dma_ops;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mt76_dma_attach);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user