X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/47cfa18482a78c1dc5842478b349e6e0f02f9bce..d76d0c5a4e062da3bd7491340f629f55867fb4cc:/package/switch/src/switch-core.c diff --git a/package/switch/src/switch-core.c b/package/switch/src/switch-core.c index 2e5395950..f5b248aad 100644 --- a/package/switch/src/switch-core.c +++ b/package/switch/src/switch-core.c @@ -394,7 +394,6 @@ switch_vlan_config *switch_parse_vlan(switch_driver *driver, char *buf) int switch_device_registered (char* device) { struct list_head *pos; - switch_driver *new; list_for_each(pos, &drivers.list) { if (strcmp(list_entry(pos, switch_driver, list)->interface, device) == 0) {