Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 12:07:57 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r269861 - stable/10/sys/ofed/drivers/infiniband/hw/mlx4
Message-ID:  <53ea039d.6b59.686e4d34@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Aug 12 12:07:57 2014
New Revision: 269861
URL: http://svnweb.freebsd.org/changeset/base/269861

Log:
  MFC r268315:
  Fix compile warning.
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/10/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c
==============================================================================
--- stable/10/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c	Tue Aug 12 12:06:21 2014	(r269860)
+++ stable/10/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c	Tue Aug 12 12:07:57 2014	(r269861)
@@ -665,7 +665,7 @@ static void mlx4_ib_mcg_work_handler(str
 			if (!list_empty(&group->pending_list))
 				req = list_first_entry(&group->pending_list,
 						struct mcast_req, group_list);
-			if ((method == IB_MGMT_METHOD_GET_RESP)) {
+			if (method == IB_MGMT_METHOD_GET_RESP) {
 					if (req) {
 						send_reply_to_slave(req->func, group, &req->sa_mad, status);
 						--group->func[req->func].num_pend_reqs;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ea039d.6b59.686e4d34>