diff options
author | Hal Rosenstock <hal.rosenstock@gmail.com> | 2007-08-03 21:45:17 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-08-03 21:45:17 +0400 |
commit | 8fc394b1971241999ef9b022feabf6a164791e3f (patch) | |
tree | 078b960d6adb100e68b030f9c8333bf34aa6f5ed /drivers/infiniband/core/agent.h | |
parent | 86dfbecdea733a6e940b958e94a85af45b89a0b9 (diff) | |
download | linux-8fc394b1971241999ef9b022feabf6a164791e3f.tar.xz |
IB/mad: agent_send_response() should be void
Nothing looks at the return value of agent_send_response(), so there's
no point in returning anything.
Signed-off-by: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/agent.h')
-rw-r--r-- | drivers/infiniband/core/agent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/core/agent.h b/drivers/infiniband/core/agent.h index 86d72fab37b0..fb9ed1489f95 100644 --- a/drivers/infiniband/core/agent.h +++ b/drivers/infiniband/core/agent.h @@ -46,8 +46,8 @@ extern int ib_agent_port_open(struct ib_device *device, int port_num); extern int ib_agent_port_close(struct ib_device *device, int port_num); -extern int agent_send_response(struct ib_mad *mad, struct ib_grh *grh, - struct ib_wc *wc, struct ib_device *device, - int port_num, int qpn); +extern void agent_send_response(struct ib_mad *mad, struct ib_grh *grh, + struct ib_wc *wc, struct ib_device *device, + int port_num, int qpn); #endif /* __AGENT_H_ */ |