From: Joe Perches Date: Sat, 27 Nov 2010 23:05:43 +0000 (+0000) Subject: netxen: remove unnecessary [kv][mcz]alloc casts X-Git-Tag: Ubuntu-5.10.0-12.13~26154^2~424 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0acdf68f495793143802dd4f3e47918dddcceed7;p=mirror_ubuntu-hirsute-kernel.git netxen: remove unnecessary [kv][mcz]alloc casts Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/drivers/net/netxen/netxen_nic_init.c b/drivers/net/netxen/netxen_nic_init.c index f946de23fe76..731077d8d962 100644 --- a/drivers/net/netxen/netxen_nic_init.c +++ b/drivers/net/netxen/netxen_nic_init.c @@ -278,8 +278,7 @@ int netxen_alloc_sw_resources(struct netxen_adapter *adapter) break; } - rds_ring->rx_buf_arr = (struct netxen_rx_buffer *) - vzalloc(RCV_BUFF_RINGSIZE(rds_ring)); + rds_ring->rx_buf_arr = vzalloc(RCV_BUFF_RINGSIZE(rds_ring)); if (rds_ring->rx_buf_arr == NULL) { printk(KERN_ERR "%s: Failed to allocate " "rx buffer ring %d\n",