qed: remove unnecessary memset in qed_init_fw_funcs
authorWan Jiabing <wanjiabing@vivo.com>
Fri, 18 Mar 2022 09:31:53 +0000 (17:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Mar 2022 10:59:56 +0000 (10:59 +0000)
commitb8f7544a6cb384c079e3d626b3ee185086a7c0ef
tree78739bdbe8852ab95d7d76a8053344adbe7f5d4d
parentf22881de730ebd472e15bcc2c0d1d46e36a87b9c
qed: remove unnecessary memset in qed_init_fw_funcs

allocated_mem is allocated by kcalloc(). The memory is set to zero.
It is unnecessary to call memset again.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c