]> git.karo-electronics.de Git - linux-beck.git/commit
qed: Remove useless set memory to zero use memset()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 18 Oct 2016 15:54:50 +0000 (15:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 18:26:00 +0000 (14:26 -0400)
commit4251e7475d4b2ac0d9ad039439ad0650921b1d27
treef5f633e51f0ae1756ae74c5fd79aeb0a513aedfd
parentaa0938c6d77d84d9ab72c5674c9624dddc345095
qed: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_roce.c