diff options
author | Joe Perches <joe@perches.com> | 2010-11-27 23:05:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 17:26:22 -0800 |
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 f946de23fe7..731077d8d96 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", |