OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c8638
)
wifi: mt76: remove __mt76_mcu_restart macro
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Mon, 23 Jan 2023 10:55:29 +0000
(11:55 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 3 Feb 2023 13:47:27 +0000
(14:47 +0100)
__mt76_mcu_restart is no longer used
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76.h
b/drivers/net/wireless/mediatek/mt76/mt76.h
index
48dc423
..
a82b862
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/
drivers/net/wireless/mediatek/mt76/mt76.h
@@
-888,7
+888,6
@@
extern struct ieee80211_rate mt76_rates[12];
#define mt76_mcu_restart(dev, ...) (dev)->mt76.mcu_ops->mcu_restart(&((dev)->mt76))
-#define __mt76_mcu_restart(dev, ...) (dev)->mcu_ops->mcu_restart((dev))
#define mt76_set(dev, offset, val) mt76_rmw(dev, offset, 0, val)
#define mt76_clear(dev, offset, val) mt76_rmw(dev, offset, val, 0)