Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11169554ybi; Thu, 25 Jul 2019 11:10:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3AfOK6c14nJO1e6P6rI36VaMzVyyMeQSUhWxPJEXRxnuzRF5neDNVhPkEphMEs4j1kGO1 X-Received: by 2002:a17:902:bb81:: with SMTP id m1mr8129787pls.125.1564078257914; Thu, 25 Jul 2019 11:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564078257; cv=none; d=google.com; s=arc-20160816; b=t4Z9IM6hdSSWWPSgfsYSlZxWT1hapGLi4ZrFGnC1/BfU88eW/YKprZupdgtYIWfZ5n LAHoXkbWvx2R3kPq85sE2XLLdKIHR29LzegI+j+z6GjY95P3/Viz2a7Jh2sDrvCJ98Hw m+Lg3HfKQY9tpViz7Sfn+vKQ7NZWyC2B2jrrqFSN4J/8gq7GALBd+SdpdJ880w2x6AEY jTvl9aqzgGdG5gGm4vfh/vahNGttNy5NnG//z1wDufDCW/SKfd9x9MJ8a0WzVBMV6qWc JjYSRLD0enVxqPtlvoA+0OffUvpZTT8iy9FrKnvml7GgBqSDz4XLTlTS0FiFXCKY/3KE acQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8ZhTHUGF4BS+/P0Rb9TkAvrSGyWNOTQnBdMjw8j9VFk=; b=cC88KjaNRN/Eog/cOoRq4a56WFrfBge0PNQPFzGrzobr/z44Mh7tGtYJbk1TrGwzhR X4tcd5wpeuxcwY7OpOYyytUQtecb0tG0beGhR19R5WDGUQBZ0YpWdjrWyo5j0AJR2PwS /iCMLVV5hfWSL8V2sjCPyL9HemENXZo3FTRQrb+M+C7fsPyihdjcA1prUH4Xcw4WORh6 /jKFkqg1+KdHZWX+5QOHrk0n3TjGwttTj6qAbLvbLI8bKZma804TKQLnV0SdDqhDBhf2 hS//0Zk+Rtun2J5IYfFLADjZ/FL30lpyGNhC26dWfMPRhVXSrRh3fdfcUjAENz55bDD1 gNgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=htDNAyfJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si15873871plh.56.2019.07.25.11.10.43; Thu, 25 Jul 2019 11:10:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=htDNAyfJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389194AbfGYQ56 (ORCPT + 99 others); Thu, 25 Jul 2019 12:57:58 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:37853 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388878AbfGYQ56 (ORCPT ); Thu, 25 Jul 2019 12:57:58 -0400 Received: by mail-qt1-f194.google.com with SMTP id y26so49765299qto.4 for ; Thu, 25 Jul 2019 09:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8ZhTHUGF4BS+/P0Rb9TkAvrSGyWNOTQnBdMjw8j9VFk=; b=htDNAyfJo63MPyQIOStcJbrDyJUyecGKpxeCN1ks947EiKLGO6CkCJUa5x9dB8TbfM Bwa4LWWkuzh21QnmjaMFAu3m5IR49XdNmcF4wOtSSrK+u0XluA/A2E7xA5BPmrybm48Y 0pGFEC6moPikmfzYE2HUddJb3GtOpFE5/myj46UxS8Q2j+z9Akz7qEcHASdhynLEi8ti EWDMZOxToSy3V5vbC072JeLcbrHcrK1gBxFzhIzA3sbbibgjAld23GDDUphR5R3syQoq Sn4n0EuCgjmafw8N85d6zjA5+wtvqzL90zBkgGmvH5I5hr6RKppNg+qoVTjLLZRWQqNs DCoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8ZhTHUGF4BS+/P0Rb9TkAvrSGyWNOTQnBdMjw8j9VFk=; b=ehXqdWSdi9bYog3h3t5Bpbr8wU8vf1ZQ7zzxp2cyD8SsUtXS/xchU1eSMm25kyl+FX 2viWl2MwvlfQqRkgAMaW4fmyE37VZifcwGDbIIKt9dqGU6mvG017j8OLg1Gqswj4TCqA sUr/a2X5XhAvVhFWM23raxKW0ru5qGjA3Djc3maJ7HDPbinjgNyAi6w1DG3glOeikD/5 LuRETcmJsFux5LZyr2KkpFNYplIgCQG2dZ4ffkPhtamlCasuVAn6Qb0/DOpYqYvgaLQb 1w4hxQPXQzGBXYZjfhKevaVSavY+b8jI9fP5Yz7hp8klkWyaXWqKX+UopgpI0IakamfN 5Q7w== X-Gm-Message-State: APjAAAV3y9kkYsbywXvtX73WcFhi8Rf5YhEzgxBE8mLe0V2ypLfN2WDP 8yljYMKEfmkzmo9RPM8gVElNwQ== X-Received: by 2002:a0c:db93:: with SMTP id m19mr62622768qvk.96.1564073877389; Thu, 25 Jul 2019 09:57:57 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-55-100.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.55.100]) by smtp.gmail.com with ESMTPSA id a67sm23661396qkg.131.2019.07.25.09.57.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 09:57:56 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hqh40-0007U5-DH; Thu, 25 Jul 2019 13:57:56 -0300 Date: Thu, 25 Jul 2019 13:57:56 -0300 From: Jason Gunthorpe To: Hariprasad Kelam Cc: Michal Kalderon , Ariel Elior , Doug Ledford , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] infiniband: hw: qedr: Remove Unneeded variable rc Message-ID: <20190725165756.GA28745@ziepe.ca> References: <20190716173712.GA12949@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190716173712.GA12949@hari-Inspiron-1545> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 16, 2019 at 11:07:12PM +0530, Hariprasad Kelam wrote: > fix below issue reported by coccicheck > drivers/infiniband/hw/qedr/verbs.c:2454:5-7: Unneeded variable: "rc". > Return "0" on line 2499 > > Signed-off-by: Hariprasad Kelam > --- > drivers/infiniband/hw/qedr/verbs.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied to for-next, thanks Jason