aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vxge/vxge-main.c')
-rw-r--r--drivers/net/vxge/vxge-main.c4
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",