]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: change the return type to void
authorZhu Yanjun <yanjun.zhu@oracle.com>
Sat, 1 Apr 2017 03:42:55 +0000 (23:42 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 25 Apr 2017 19:30:26 +0000 (15:30 -0400)
commit76b38d8744f525877b79cc89a7aff39b8186cecc
treebcdfce0ada38ac99451924d9bcaf77c91f1a6138
parent58ca311303bc56a49fbd945fb2234189f11154ce
IB/core: change the return type to void

The function ib_unregister_mad_agent always returns zero. And
this returned value is not checked. As such, chane the return
type to void.

CC: Joe Jin <joe.jin@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c
include/rdma/ib_mad.h