diff options
author | Joe Perches <joe@perches.com> | 2010-11-27 18:05:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 20:26:23 -0500 |
commit | e80be0b0ee307a2801e57cf36333d3d659e4bcc6 (patch) | |
tree | 1f8ec30ea9898c6002c31179025a094f34975194 /drivers/net/vxge/vxge-main.c | |
parent | f3167460144cd2c24b964a32d40d32f851b5d5f4 (diff) |
vxge: remove unnecessary [kv][mcz]alloc casts
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-main.c')
-rw-r--r-- | drivers/net/vxge/vxge-main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c index 5cba4a684f08..a21dae1183e0 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/vxge/vxge-main.c | |||
@@ -4602,9 +4602,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) | |||
4602 | 4602 | ||
4603 | /* Copy the station mac address to the list */ | 4603 | /* Copy the station mac address to the list */ |
4604 | for (i = 0; i < vdev->no_of_vpath; i++) { | 4604 | for (i = 0; i < vdev->no_of_vpath; i++) { |
4605 | entry = (struct vxge_mac_addrs *) | 4605 | entry = kzalloc(sizeof(struct vxge_mac_addrs), GFP_KERNEL); |
4606 | kzalloc(sizeof(struct vxge_mac_addrs), | ||
4607 | GFP_KERNEL); | ||
4608 | if (NULL == entry) { | 4606 | if (NULL == entry) { |
4609 | vxge_debug_init(VXGE_ERR, | 4607 | vxge_debug_init(VXGE_ERR, |
4610 | "%s: mac_addr_list : memory allocation failed", | 4608 | "%s: mac_addr_list : memory allocation failed", |