Commit 5091b353883ba3358998797efb284f82344531f3
Exists in
master
and in
4 other branches
Merge branches 'cma', 'misc', 'mlx4' and 'nes' into for-linus
Showing 3 changed files Side-by-side Diff
drivers/infiniband/core/cm.c
drivers/infiniband/hw/mlx4/mr.c
drivers/infiniband/hw/nes/nes_verbs.c
... | ... | @@ -2820,11 +2820,10 @@ |
2820 | 2820 | attr->cap.max_send_wr = nesqp->hwqp.sq_size; |
2821 | 2821 | attr->cap.max_recv_wr = nesqp->hwqp.rq_size; |
2822 | 2822 | attr->cap.max_recv_sge = 1; |
2823 | - if (nes_drv_opt & NES_DRV_OPT_NO_INLINE_DATA) { | |
2824 | - init_attr->cap.max_inline_data = 0; | |
2825 | - } else { | |
2826 | - init_attr->cap.max_inline_data = 64; | |
2827 | - } | |
2823 | + if (nes_drv_opt & NES_DRV_OPT_NO_INLINE_DATA) | |
2824 | + attr->cap.max_inline_data = 0; | |
2825 | + else | |
2826 | + attr->cap.max_inline_data = 64; | |
2828 | 2827 | |
2829 | 2828 | init_attr->event_handler = nesqp->ibqp.event_handler; |
2830 | 2829 | init_attr->qp_context = nesqp->ibqp.qp_context; |