staging: fsl-dpaa2/ethsw: Remove useless set memory to zero use memset()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 2 Aug 2019 01:31:49 +0000 (01:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 11:55:38 +0000 (13:55 +0200)
commita5589269e660a14ab8580235909100f245d73cb9
treeddee1caa015d23ad7236fa68e57ac5adc431305a
parent0b800f3dbae710ed72ad544d17fd186ea5b5e504
staging: fsl-dpaa2/ethsw: Remove useless set memory to zero use memset()

The memory return by kzalloc() has already be set to zero, so remove
useless memset(0).

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20190802013149.80952-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c