Commit 0acdf68f authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

netxen: remove unnecessary [kv][mcz]alloc casts

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c661c4a2
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment