qeth: remove cast for kzalloc return value
remove cast for kzalloc return value. Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
03393fd5cc
commit
4a912f9822
@ -316,7 +316,7 @@ static inline int qeth_alloc_cq(struct qeth_card *card)
|
||||
|
||||
card->qdio.no_in_queues = 2;
|
||||
|
||||
card->qdio.out_bufstates = (struct qdio_outbuf_state *)
|
||||
card->qdio.out_bufstates =
|
||||
kzalloc(card->qdio.no_out_queues *
|
||||
QDIO_MAX_BUFFERS_PER_Q *
|
||||
sizeof(struct qdio_outbuf_state), GFP_KERNEL);
|
||||
|
Loading…
Reference in New Issue
Block a user