From: Joe Perches Date: Mon, 12 May 2008 21:38:17 +0000 (-0700) Subject: drivers/net/ehea - remove unnecessary memset after kzalloc X-Git-Tag: v2.6.26-rc4~7^2~1^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=25c16fffa8ed82d3ef31980d76ff95d3c6430f00;p=linux-2.6-omap-h63xx.git drivers/net/ehea - remove unnecessary memset after kzalloc Signed-off-by: Joe Perches Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 8645224da1c..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, goto out; } - memset(cb1->vlan_filter, 0, sizeof(cb1->vlan_filter)); - hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, H_PORT_CB1, H_PORT_CB1_ALL, cb1); if (hret != H_SUCCESS)