]> git.karo-electronics.de Git - linux-beck.git/commit
IB/hns: Delete the redundant memset operation
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Tue, 29 Nov 2016 23:10:28 +0000 (23:10 +0000)
committerDoug Ledford <dledford@redhat.com>
Sat, 3 Dec 2016 19:20:42 +0000 (14:20 -0500)
commit19a408efa099e6ebe5458d4fc1ba4630d9daf9d4
tree9c7b52d2ea5fdcc4e9baf751153662d13db3b8e8
parent9daed0affa1378cbfbc549de6a2b25c778c15bda
IB/hns: Delete the redundant memset operation

It deleted the redundant memset operation because the memory allocated
by ib_alloc_device has been set zero.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_main.c