Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bceb8b8d
Commit
bceb8b8d
authored
Jul 03, 2022
by
Felix Fietkau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mt76: remove q->qid
It is no longer used Signed-off-by:
Felix Fietkau
<
nbd@nbd.name
>
parent
1d5af0ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt76.h
+0
-3
drivers/net/wireless/mediatek/mt76/sdio.c
drivers/net/wireless/mediatek/mt76/sdio.c
+0
-2
drivers/net/wireless/mediatek/mt76/usb.c
drivers/net/wireless/mediatek/mt76/usb.c
+0
-1
No files found.
drivers/net/wireless/mediatek/mt76/mt76.h
View file @
bceb8b8d
...
...
@@ -185,7 +185,6 @@ struct mt76_queue {
u8
buf_offset
;
u8
hw_idx
;
u8
qid
;
u8
flags
;
u32
wed_regs
;
...
...
@@ -977,7 +976,6 @@ static inline int mt76_init_tx_queue(struct mt76_phy *phy, int qid, int idx,
if
(
IS_ERR
(
q
))
return
PTR_ERR
(
q
);
q
->
qid
=
qid
;
phy
->
q_tx
[
qid
]
=
q
;
return
0
;
...
...
@@ -992,7 +990,6 @@ static inline int mt76_init_mcu_queue(struct mt76_dev *dev, int qid, int idx,
if
(
IS_ERR
(
q
))
return
PTR_ERR
(
q
);
q
->
qid
=
__MT_TXQ_MAX
+
qid
;
dev
->
q_mcu
[
qid
]
=
q
;
return
0
;
...
...
drivers/net/wireless/mediatek/mt76/sdio.c
View file @
bceb8b8d
...
...
@@ -350,7 +350,6 @@ int mt76s_alloc_tx(struct mt76_dev *dev)
if
(
IS_ERR
(
q
))
return
PTR_ERR
(
q
);
q
->
qid
=
i
;
dev
->
phy
.
q_tx
[
i
]
=
q
;
}
...
...
@@ -358,7 +357,6 @@ int mt76s_alloc_tx(struct mt76_dev *dev)
if
(
IS_ERR
(
q
))
return
PTR_ERR
(
q
);
q
->
qid
=
MT_MCUQ_WM
;
dev
->
q_mcu
[
MT_MCUQ_WM
]
=
q
;
return
0
;
...
...
drivers/net/wireless/mediatek/mt76/usb.c
View file @
bceb8b8d
...
...
@@ -937,7 +937,6 @@ static int mt76u_alloc_tx(struct mt76_dev *dev)
spin_lock_init
(
&
q
->
lock
);
q
->
hw_idx
=
mt76u_ac_to_hwq
(
dev
,
i
);
q
->
qid
=
i
;
dev
->
phy
.
q_tx
[
i
]
=
q
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment