diff options
Diffstat (limited to 'drivers/net/ehea/ehea_main.c')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index d1b6d4e7495..287a6191873 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -2213,8 +2213,6 @@ static void ehea_vlan_rx_register(struct net_device *dev, | |||
2213 | goto out; | 2213 | goto out; |
2214 | } | 2214 | } |
2215 | 2215 | ||
2216 | memset(cb1->vlan_filter, 0, sizeof(cb1->vlan_filter)); | ||
2217 | |||
2218 | hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, | 2216 | hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, |
2219 | H_PORT_CB1, H_PORT_CB1_ALL, cb1); | 2217 | H_PORT_CB1, H_PORT_CB1_ALL, cb1); |
2220 | if (hret != H_SUCCESS) | 2218 | if (hret != H_SUCCESS) |
@@ -3178,11 +3176,12 @@ out_err: | |||
3178 | 3176 | ||
3179 | static void ehea_shutdown_single_port(struct ehea_port *port) | 3177 | static void ehea_shutdown_single_port(struct ehea_port *port) |
3180 | { | 3178 | { |
3179 | struct ehea_adapter *adapter = port->adapter; | ||
3181 | unregister_netdev(port->netdev); | 3180 | unregister_netdev(port->netdev); |
3182 | ehea_unregister_port(port); | 3181 | ehea_unregister_port(port); |
3183 | kfree(port->mc_list); | 3182 | kfree(port->mc_list); |
3184 | free_netdev(port->netdev); | 3183 | free_netdev(port->netdev); |
3185 | port->adapter->active_ports--; | 3184 | adapter->active_ports--; |
3186 | } | 3185 | } |
3187 | 3186 | ||
3188 | static int ehea_setup_ports(struct ehea_adapter *adapter) | 3187 | static int ehea_setup_ports(struct ehea_adapter *adapter) |