diff options
author | Joe Perches <joe@perches.com> | 2010-11-28 00:05:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-29 02:26:23 +0100 |
commit | e80be0b0ee307a2801e57cf36333d3d659e4bcc6 (patch) | |
tree | 1f8ec30ea9898c6002c31179025a094f34975194 /drivers/net/vxge/vxge-main.c | |
parent | qlcnic: remove unnecessary [kv][mcz]alloc casts (diff) | |
download | linux-e80be0b0ee307a2801e57cf36333d3d659e4bcc6.tar.xz linux-e80be0b0ee307a2801e57cf36333d3d659e4bcc6.zip |
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) /* 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", |