Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5211
b: refs/heads/master
c: df9f9ea
h: refs/heads/master
i:
  5209: 4e340ec
  5207: 3666842
v: v3
  • Loading branch information
Hal Rosenstock authored and Linus Torvalds committed Jul 27, 2005
1 parent 785858b commit d4d15ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f68bcc2df8115b4ea45bfa4f8de22ec7232562b5
refs/heads/master: df9f9ead746e9607099d7024f312133944173609
9 changes: 1 addition & 8 deletions trunk/drivers/infiniband/core/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,9 @@ struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent,
buf = kmalloc(sizeof *send_buf + buf_size, gfp_mask);
if (!buf)
return ERR_PTR(-ENOMEM);
memset(buf, 0, sizeof *send_buf + buf_size);

send_buf = buf + buf_size;
memset(send_buf, 0, sizeof *send_buf);
send_buf->mad = buf;

send_buf->sge.addr = dma_map_single(mad_agent->device->dma_device,
Expand Down Expand Up @@ -1021,13 +1021,6 @@ void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc)
}
EXPORT_SYMBOL(ib_free_recv_mad);

void ib_coalesce_recv_mad(struct ib_mad_recv_wc *mad_recv_wc,
void *buf)
{
printk(KERN_ERR PFX "ib_coalesce_recv_mad() not implemented yet\n");
}
EXPORT_SYMBOL(ib_coalesce_recv_mad);

struct ib_mad_agent *ib_redirect_mad_qp(struct ib_qp *qp,
u8 rmpp_version,
ib_mad_send_handler send_handler,
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/infiniband/include/ib_mad.h
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,7 @@ int ib_post_send_mad(struct ib_mad_agent *mad_agent,
* This call copies a chain of received RMPP MADs into a single data buffer,
* removing duplicated headers.
*/
void ib_coalesce_recv_mad(struct ib_mad_recv_wc *mad_recv_wc,
void *buf);
void ib_coalesce_recv_mad(struct ib_mad_recv_wc *mad_recv_wc, void *buf);

/**
* ib_free_recv_mad - Returns data buffers used to receive a MAD to the
Expand Down

0 comments on commit d4d15ef

Please sign in to comment.