Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25c16fff authored by Joe Perches's avatar Joe Perches Committed by Jeff Garzik
Browse files

drivers/net/ehea - remove unnecessary memset after kzalloc



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent d04455fb
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -2213,8 +2213,6 @@ static void ehea_vlan_rx_register(struct net_device *dev,
		goto out;
		goto out;
	}
	}


	memset(cb1->vlan_filter, 0, sizeof(cb1->vlan_filter));

	hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id,
	hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id,
				       H_PORT_CB1, H_PORT_CB1_ALL, cb1);
				       H_PORT_CB1, H_PORT_CB1_ALL, cb1);
	if (hret != H_SUCCESS)
	if (hret != H_SUCCESS)