mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> CC: Junxiao Bi <[email protected]> Signed-off-by: Zhu Yanjun <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Reviewed-by: Hal Rosenstock <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
2c15b73ab4
commit
8d2216be28
2 changed files with 2 additions and 3 deletions
|
|
@ -673,7 +673,7 @@ struct ib_mad_agent *ib_register_mad_snoop(struct ib_device *device,
|
|||
* After invoking this routine, MAD services are no longer usable by the
|
||||
* client on the associated QP.
|
||||
*/
|
||||
int ib_unregister_mad_agent(struct ib_mad_agent *mad_agent);
|
||||
void ib_unregister_mad_agent(struct ib_mad_agent *mad_agent);
|
||||
|
||||
/**
|
||||
* ib_post_send_mad - Posts MAD(s) to the send queue of the QP associated
|
||||
|
|
|
|||
Loading…
Reference in a new issue