]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Remove memset after vzalloc in ipoib_cm.c
authorFuqian Huang <huangfq.daxian@gmail.com>
Thu, 27 Jun 2019 17:38:04 +0000 (01:38 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Jul 2019 17:27:37 +0000 (14:27 -0300)
commitb0977ad24dcd7a5627a85b1c665936e8a15c66ed
tree2e4a27e73d66f77811eeb41b212e9ff6a50881f3
parent8d09ee7c5b391ab3e9046c8e378cf77f04004a64
IB/ipoib: Remove memset after vzalloc in ipoib_cm.c

vzalloc has already zeroed the memory.  So a memset is unneeded.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c