Message ID | 20180418153934.GA69153@lkp-sb05 (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
--- a/drivers/infiniband/sw/rfc/rfc_verbs.c +++ b/drivers/infiniband/sw/rfc/rfc_verbs.c @@ -1149,10 +1149,8 @@ static int rfc_map_mr_sg(struct ib_mr *i static int rfc_attach_mcast(struct ib_qp *ibqp, union ib_gid *mgid, u16 mlid) { - int err = -1; - // multicast not supported in rfc v1.0 - return err; + return -1; } static int rfc_detach_mcast(struct ib_qp *ibqp, union ib_gid *mgid, u16 mlid)