forked from luck/tmp_suning_uos_patched
netxen: remove unnecessary [kv][mcz]alloc casts
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c661c4a2b0
commit
0acdf68f49
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user