summaryrefslogtreecommitdiff
path: root/drivers/net/ehea
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2008-05-12 14:38:17 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 06:20:16 -0400
commit25c16fffa8ed82d3ef31980d76ff95d3c6430f00 (patch)
treea2bd6d85cc981d1ee37cb7a23a701a6da0bb259e /drivers/net/ehea
parentd04455fba3777fa5c3963348be76510169bbf4df (diff)
drivers/net/ehea - remove unnecessary memset after kzalloc
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ehea')
-rw-r--r--drivers/net/ehea/ehea_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index 8645224da1cf..287a61918739 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)