projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: fix rtl8366_smi compile warning
[openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
rtl8366_smi.c
diff --git
a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
index
d433908
..
e2b4f02
100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
+++ b/
target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
@@
-1109,7
+1109,7
@@
int rtl8366_sw_set_vlan_ports(struct switch_dev *dev, struct switch_val *val)
port = &val->value.ports[0];
for (i = 0; i < val->len; i++, port++) {
- int pvid;
+ int pvid
= 0
;
member |= BIT(port->id);
if (!(port->flags & BIT(SWITCH_PORT_FLAG_TAGGED)))