mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
dma.h: add missing variable initialization
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
#define Q_READ(_q, _field) ({ \
|
#define Q_READ(_q, _field) ({ \
|
||||||
u32 _offset = offsetof(struct mt76_queue_regs, _field); \
|
u32 _offset = offsetof(struct mt76_queue_regs, _field); \
|
||||||
u32 _val; \
|
u32 _val = 0; \
|
||||||
if ((_q)->flags & MT_QFLAG_NPU) { \
|
if ((_q)->flags & MT_QFLAG_NPU) { \
|
||||||
struct airoha_npu *npu; \
|
struct airoha_npu *npu; \
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user