projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d04455f
)
drivers/net/ehea - remove unnecessary memset after kzalloc
author
Joe Perches
<
[email protected]
>
Mon, 12 May 2008 21:38:17 +0000
(14:38 -0700)
committer
Jeff Garzik
<
[email protected]
>
Thu, 22 May 2008 10:20:16 +0000
(06:20 -0400)
Signed-off-by: Joe Perches <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/ehea/ehea_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ehea/ehea_main.c
b/drivers/net/ehea/ehea_main.c
index 8645224da1cfb329736495d7c0ab3e1d9f13a2f8..287a619187392ddc8944cb5ec3283cd0783827d2 100644
(file)
--- 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)