diff options
author | Joe Perches <joe@perches.com> | 2010-11-27 18:05:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 20:26:22 -0500 |
commit | 0acdf68f495793143802dd4f3e47918dddcceed7 (patch) | |
tree | fb3fb4bdb4fd0b353a6b731ec068ea2294470ce5 /drivers/net/netxen | |
parent | c661c4a2b0d64c33afc9018a406162b1f8ac5617 (diff) |
netxen: remove unnecessary [kv][mcz]alloc casts
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
278 | break; | 278 | break; |
279 | 279 | ||
280 | } | 280 | } |
281 | rds_ring->rx_buf_arr = (struct netxen_rx_buffer *) | 281 | rds_ring->rx_buf_arr = vzalloc(RCV_BUFF_RINGSIZE(rds_ring)); |
282 | vzalloc(RCV_BUFF_RINGSIZE(rds_ring)); | ||
283 | if (rds_ring->rx_buf_arr == NULL) { | 282 | if (rds_ring->rx_buf_arr == NULL) { |
284 | printk(KERN_ERR "%s: Failed to allocate " | 283 | printk(KERN_ERR "%s: Failed to allocate " |
285 | "rx buffer ring %d\n", | 284 | "rx buffer ring %d\n", |