Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1749297pxk; Sat, 19 Sep 2020 00:44:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcMNVFhiWqHelVnPigLxARU5YyS5tMMxYbc6VLUmJPWGV/1qeWNfIezJM/QPuT0RI495cK X-Received: by 2002:a05:6402:1641:: with SMTP id s1mr44199874edx.66.1600501479468; Sat, 19 Sep 2020 00:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600501479; cv=none; d=google.com; s=arc-20160816; b=pnWrKhS1Hjt4+fP/GMfLXqCb1DYOsYbtu4LRKuq9+lct+/8ePXGuJocODXndFt00n6 jMYfmsgh2Am8V+3+ax8uQE4eOqPujam3KDRWez286qWizgGFUeAjQKyboiyN6lAWrMMH fN/k1I/nGfQZZ3iwuPTQXQ9vRxNoLrt/UZzrVRFT/Lx2hbZS3DCSOIlHhNnsJX/pFm4E GL7ZhD0XtlQocRA+ml5OAgvq0FSEqUnKRw0RlRB625L0v232TzuwVT3esFry4PmrV882 RH0x5bMNRPP8sRNya1kQQ/RUQn6Iez5E6RifbzdwTxnpeOmPv+NLlmAxqMnFOADvEXLj oiQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=NhH1X5vpw3HvYyJ9v2/1h7yoJ5yPgt8smi0E6gqxrIQ=; b=dLwN/I0e0hLjxRrZELQua1a6s4S5Mm7m8go0PArjVEtl4rMFH0Xo5ZFepZ0XOh3GU6 ZSAnN0/gVmGadvuAme7yPuF37xS6xzvk1HiPzrse+AGnr+C8UXpZy2czbmOnnaOCaoZm qeRSoSwLHSF31zbEuygGsXZ7OTipFrgDXh19kWislOujCRGSc2esu/tBgb6glS41I2Ag xPTlMt9UA0/RJSVWwZedM08F11JKZjZ1qXg5y60fqCt2FUggPv8jkGsHws3PGnMDbj9R fcXGYJSQm71h20FCQro0aft/HOylhSqL4Nr9SwxzTUTj682AQc+pKfY6NSRZ0uqM7gq/ O/Gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si4610132edj.244.2020.09.19.00.44.15; Sat, 19 Sep 2020 00:44:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726192AbgISHnJ (ORCPT + 99 others); Sat, 19 Sep 2020 03:43:09 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:35242 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726041AbgISHnJ (ORCPT ); Sat, 19 Sep 2020 03:43:09 -0400 X-Greylist: delayed 392 seconds by postgrey-1.27 at vger.kernel.org; Sat, 19 Sep 2020 03:43:09 EDT Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 04B492243C; Sat, 19 Sep 2020 03:36:35 -0400 (EDT) Date: Sat, 19 Sep 2020 17:36:32 +1000 (AEST) From: Finn Thain To: Jing Xiangfeng cc: schmitzmic@gmail.com, linux@armlinux.org.uk, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: remove redundant initialization of variable ret In-Reply-To: <20200918090747.44645-1-jingxiangfeng@huawei.com> Message-ID: References: <20200918090747.44645-1-jingxiangfeng@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Sep 2020, Jing Xiangfeng wrote: > The variable ret is being initialized with '-ENOMEM' that is > meaningless. So remove it. > Acked-by: Finn Thain