qed: use kzalloc instead of kmalloc and memset
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Nov 2017 14:03:20 +0000 (14:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2017 01:49:00 +0000 (10:49 +0900)
commitc61a75ac1a768b8eec34da95c958f6406685faef
treeed64e19eb51a7bb650196213343a05fb40be8ffe
parent0a833c29d89656025443cb9f0ebff7052dd95ce0
qed: use kzalloc instead of kmalloc and memset

Replace kmalloc followed by a memset with kzalloc

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Ariel Elior <aelior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dcbx.c