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)
commit8d2216be285135c7281e09dc07738b62782fad9c
treebcdfce0ada38ac99451924d9bcaf77c91f1a6138
parent2c15b73ab47a7e15722cab48cb64da29df234412
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