]> err.no Git - linux-2.6/commitdiff
drivers/net/ehea - remove unnecessary memset after kzalloc
authorJoe Perches <joe@perches.com>
Mon, 12 May 2008 21:38:17 +0000 (14:38 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:20:16 +0000 (06:20 -0400)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ehea/ehea_main.c

index 8645224da1cfb329736495d7c0ab3e1d9f13a2f8..287a619187392ddc8944cb5ec3283cd0783827d2 100644 (file)
@@ -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)