Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11169631ybi; Thu, 25 Jul 2019 11:11:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzADfhMyC72LyZJ7sY2hRL3dmhngdNK/Y0nua7yiJmUyuuez668JaX4iHbbVksoo7N5d3cc X-Received: by 2002:a17:90a:2247:: with SMTP id c65mr90591951pje.24.1564078262083; Thu, 25 Jul 2019 11:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564078262; cv=none; d=google.com; s=arc-20160816; b=dKRaLUtExdJ4b/HqiKXXziJ39F7vXm4CV9/d3vkHIs9X62t34efj+C0I//dj39wFO0 kQ2cvpGW3w71tfiA9uD0ot+35gIjVemcVyEC2Xv5j7whMlqfOunSCVFSox+6gJXP7kgV gK1XXPdPxqaWhUk+GDRZcARjQLcXCbOx7bl6/AQplI6wU/07BTU3uUA6v0QAbw1wk+xI JrxILFQzlsdI7foAuaVXuoro66TxWMR9vIXX5BU2oh5ZX5d1DihXKG62mD0Fuje6uzsV UhsEZnp4RkQlKvt8029w6S3uZKX05gMA25U8kf5CJavT/ZYHdhfa8ldD60cbI/1soagJ hQVg== 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=3ATcDQ4WGQDqhMlOnuVN9hszx95z6CBf+uB6RvpSIK0=; b=jTYGeb3DGpzW44GC09uRKNSrYS58pybEOxpUgKsmFJ7oKYSSXquo3ACxSBVK/rw7AC A6gICAnSjt7Kf1F/hgdp/eX19TZHPdUx8OWm2nKHEF0EVJXYYfmERgWoRSpCcPLBHhpH ShuPdmnhruEbnJ0T+2wgqVadx6VUFMU7wpwufVkbh+3RG7dey53TIuJrgfVuzQu4JTyy p2pS/b0M/9XrCehcpKiH5cKWAx1NSEYlEDamp85WJlsLOgD/Ha7hr6iTv2WZMALnP0XA GBaKRwda40ydPGO/yQPSpXmZLwj2SaD405XA+BWq3qcJgiVnizoT+8htNCZPbw9JH3cz 5aTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=EAMhUgfF; 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 f10si20552242pfq.194.2019.07.25.11.10.47; Thu, 25 Jul 2019 11:11:02 -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=EAMhUgfF; 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 S2389393AbfGYQ6b (ORCPT + 99 others); Thu, 25 Jul 2019 12:58:31 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:34476 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388177AbfGYQ6a (ORCPT ); Thu, 25 Jul 2019 12:58:30 -0400 Received: by mail-qk1-f193.google.com with SMTP id t8so36971228qkt.1 for ; Thu, 25 Jul 2019 09:58:30 -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=3ATcDQ4WGQDqhMlOnuVN9hszx95z6CBf+uB6RvpSIK0=; b=EAMhUgfFuMhf2nsSU2L5GIwGK9f57Sb/xACUt4ECKjBJpm/HQqZ6/u5e8A8tXTo/S3 E3W6xJmA+YFzYvj4SCg8GDGMtyc73QKjzKeQ7zeZ+8JGd20fiYcxZNAxZ/DxcnCLMizY oyHR8M0fLK/310xgxRE1X7kKREcU5OXmnmX87LVCS0q2/z73W2l7tsc49vAMOmRSjI+s dUpcUAsRleTi7YDosx37UbhE0Xy0fEv/cSQKqsCGtQjdHV3n5F2sGst/TSLk1EYys4Be iruLCzsaVpM9Jks2yzoVRQ+y0gq7dLugpuFCUxEJ2gNC9sjSFFfqA/DfR/DS5aXbFGXH A92Q== 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=3ATcDQ4WGQDqhMlOnuVN9hszx95z6CBf+uB6RvpSIK0=; b=g57JrsSmyMygchtjUhJldwhkCuIUjnfPBHU/LlL5Dg+qFe2YqTibjPsEf0xnuREEUY EsggvwxmajOZuys1piyscNWd4/NhFc4+V7+NpG3CDjGwff3r0Tv6tM8yAAC0BpAkrtBs W8o4X++iYWzl3QocbpjiUqFYbzwHKCbJ83Qo4yvr/5PMulvJoJdBxS50czEv+Hn43/Yn gEdgA9TffLXsTzVphBLXrNIip7002H/xxqYkISBxg4mqFcI3C6ph+U+bcWkmx9wlJOx8 CA/cvweH5oAQKnWOLvs5KVIdMteZg94NVdSW5bGDQ7IvUDsqyWS5wjm7y3oNbloxwoEG CpLw== X-Gm-Message-State: APjAAAWoqyhGGWMSisbmRMKePK0uvzMjyfRffpfI0OVRUFrXUW07ZbMv KK9ui8DmDRqBOChqfwXk5gQOhA== X-Received: by 2002:ae9:ebc3:: with SMTP id b186mr60322698qkg.222.1564073909961; Thu, 25 Jul 2019 09:58:29 -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 t76sm23568871qke.79.2019.07.25.09.58.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 09:58:29 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hqh4X-0007VM-0x; Thu, 25 Jul 2019 13:58:29 -0300 Date: Thu, 25 Jul 2019 13:58:29 -0300 From: Jason Gunthorpe To: Hariprasad Kelam Cc: Dennis Dalessandro , Mike Marciniszyn , Doug Ledford , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] infiniband: hw: qib: Unneeded variable ret Message-ID: <20190725165829.GA28812@ziepe.ca> References: <20190716172924.GA12241@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190716172924.GA12241@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 10:59:25PM +0530, Hariprasad Kelam wrote: > fix below issue reported by coccicheck > drivers/infiniband/hw/qib/qib_file_ops.c:1792:5-8: Unneeded variable: > "ret". Return "0" on line 1876 > > Signed-off-by: Hariprasad Kelam > --- > drivers/infiniband/hw/qib/qib_file_ops.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied to for-next, thanks Jason