projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd709c
)
dsa: rtl8366: Remove unused variable.
author
David S. Miller
<davem@davemloft.net>
Wed, 18 Jul 2018 05:42:18 +0000
(14:42 +0900)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Jul 2018 05:42:18 +0000
(14:42 +0900)
drivers/net/dsa/rtl8366.c: In function ‘rtl8366_reset_vlan’:
drivers/net/dsa/rtl8366.c:234:25: warning: unused variable ‘vlan4k’ [-Wunused-variable]
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/rtl8366.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/rtl8366.c
b/drivers/net/dsa/rtl8366.c
index 58d8534f7ecbd146ee27ea9d50d310f7b4fd2bab..6dedd43442cc5775980725bbda8c3c7d5ee68443 100644
(file)
--- a/
drivers/net/dsa/rtl8366.c
+++ b/
drivers/net/dsa/rtl8366.c
@@
-231,7
+231,6
@@
EXPORT_SYMBOL_GPL(rtl8366_enable_vlan);
int rtl8366_reset_vlan(struct realtek_smi *smi)
{
struct rtl8366_vlan_mc vlanmc;
- struct rtl8366_vlan_4k vlan4k;
int ret;
int i;