diff options
author | Joe Perches <joe@perches.com> | 2010-11-27 23:05:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 17:26:23 -0800 |
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 5cba4a684f0..a21dae1183e 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) /* Copy the station mac address to the list */ for (i = 0; i < vdev->no_of_vpath; i++) { - entry = (struct vxge_mac_addrs *) - kzalloc(sizeof(struct vxge_mac_addrs), - GFP_KERNEL); + entry = kzalloc(sizeof(struct vxge_mac_addrs), GFP_KERNEL); if (NULL == entry) { vxge_debug_init(VXGE_ERR, "%s: mac_addr_list : memory allocation failed", |