Skip to content
Snippets Groups Projects
Commit f3167460 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

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

parent 0acdf68f
No related branches found
No related tags found
No related merge requests found
......@@ -274,8 +274,7 @@ int qlcnic_alloc_sw_resources(struct qlcnic_adapter *adapter)
rds_ring->dma_size + NET_IP_ALIGN;
break;
}
rds_ring->rx_buf_arr = (struct qlcnic_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) {
dev_err(&netdev->dev, "Failed to allocate "
"rx buffer ring %d\n", ring);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment