switch: update for brcm47xx target
[openwrt/staging/mkresin.git] / package / switch / src / switch-core.c
index 2e5395950e7fc74c5705e0c66612662ca6af7b65..f5b248aadbb2b60bbc15e06a38c7c9c7ba847458 100644 (file)
@@ -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) {