diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-04-21 21:12:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-22 15:39:26 -0400 |
commit | 4a912f9822f532d3988784600d84478667eca1bd (patch) | |
tree | 000a952cb57e65d423f557b07bffd356adf072be /drivers/s390 | |
parent | 03393fd5cc2b6cdeec32b704ecba64dbb0feae3c (diff) |
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 0d73a999983d..3a89ab73f668 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
@@ -316,7 +316,7 @@ static inline int qeth_alloc_cq(struct qeth_card *card) | |||
316 | 316 | ||
317 | card->qdio.no_in_queues = 2; | 317 | card->qdio.no_in_queues = 2; |
318 | 318 | ||
319 | card->qdio.out_bufstates = (struct qdio_outbuf_state *) | 319 | card->qdio.out_bufstates = |
320 | kzalloc(card->qdio.no_out_queues * | 320 | kzalloc(card->qdio.no_out_queues * |
321 | QDIO_MAX_BUFFERS_PER_Q * | 321 | QDIO_MAX_BUFFERS_PER_Q * |
322 | sizeof(struct qdio_outbuf_state), GFP_KERNEL); | 322 | sizeof(struct qdio_outbuf_state), GFP_KERNEL); |