Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4265818pxk; Tue, 29 Sep 2020 20:40:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNnWO7r5jhCaHoRwGV8RsMtcOfD0jh43N3ipV1jFz3ECvKfhb74Vl5olQ2ma2pkanboajk X-Received: by 2002:a17:906:c411:: with SMTP id u17mr767344ejz.319.1601437202871; Tue, 29 Sep 2020 20:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601437202; cv=none; d=google.com; s=arc-20160816; b=MxryuGoMT9CKLVlh9rxMsegYqO2hTynJ2KB63CVVmBteK/MuUwHFJhbtqZgzNkpAaT UQmTgywbD3S+tXFSuNZzPo+PmEowBJ1rYdyELCRIk5hDt9e0ZRBUPtdU+Lof7q1kWgkN awtrCShfLboY5Uqky0M6RKz3Snsc/YpTpIdq2brNKOIuaf2bLmAM3A116Wk/pRWdnJgG iT7W9qhdB0Drh6ruGNo69uquc3fTD356GSoI5d/9vzLKSIT2rpewb6kJ447igc2WJNCL +37PoEgj+glRrjeTJ45dJ28kvEBPIafo6isDFtQXJXkdmqlI61zrGz+rC3H9tQGySiBr ByiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RmEynA6LQnNSJgRokfZmIJv2wPjJiLYa9Smp1fW3sn0=; b=roYpJuFI/6uV8vnNXHEfBdI2gMLdDrNFdAVhun/VLwtutIOs8yoiufy1jPiT6hZwwd 6HuDH1rtSBW3IgWOV4fS8IVW7vPDVJMsQADsMwjpoyUeLENy8eRRgj4Tl62T1iWu+0oQ GxdS7x4bcnGqrXsi8yCiCHijW4ObSTMK6J7oul0lEhr3qTQxxWPDtbEZ6vLSpDmvzoxF zRnpkIJmUURLUmce4hfqJG9DM5qc5k933SlqPnunAfmJFHAZAm/8nwc1byLbCDExDHw5 1+EFeLuRfChePymLrLFMOdyMKmKiwMrz7mP+2Z2JvhPBLnIMGtNFy5zXz6/phVhoQ+P9 U4Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=wB9y2JZv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mb25si380759ejb.320.2020.09.29.20.39.40; Tue, 29 Sep 2020 20:40:02 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=wB9y2JZv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727864AbgI3Dff (ORCPT + 99 others); Tue, 29 Sep 2020 23:35:35 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:49344 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbgI3Dfd (ORCPT ); Tue, 29 Sep 2020 23:35:33 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08U3PG2l147179; Wed, 30 Sep 2020 03:34:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=RmEynA6LQnNSJgRokfZmIJv2wPjJiLYa9Smp1fW3sn0=; b=wB9y2JZv33IrUblBmUxNwC/9buxPg/aDPh8L8XrIBHCG94ngBhhogN4hx/x82Z+ynB2m RBy2sq4uzTps/Hf1+ltj1YZUo2UZbyGnT9S2gx/zZ2VpgS7FEd9SylklF/iT8iyW8oUP 2PtiQgdyvDUrI0OYFsqd79FIbH6XjdRo0jK7WRExGn3bGsIqtwRSmngJXSQrLogjP+sW wFN7UmuVqjWt1F3wER/MO35CYTZhrNqZmb4vkn0hj3xdqQoIHyWFOdH0itVCAGiK0mL8 z4VJGJvJe3+bzwOsKtbsH4ykaecEkLd0TJB72i7pYagarc8cSpyXT2P5cZwpmlON45pL qw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 33su5axc0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Sep 2020 03:34:59 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08U3QVEX064891; Wed, 30 Sep 2020 03:34:58 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 33tfhygkxa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Sep 2020 03:34:58 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08U3YsxL027460; Wed, 30 Sep 2020 03:34:54 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Sep 2020 20:34:54 -0700 From: "Martin K. Petersen" To: Jing Xiangfeng , fthain@telegraphics.com.au, linux@armlinux.org.uk, schmitzmic@gmail.com, jejb@linux.ibm.com Cc: "Martin K . Petersen" , 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 Date: Tue, 29 Sep 2020 23:34:47 -0400 Message-Id: <160143685413.27701.2383412443851810355.b4-ty@oracle.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200918090747.44645-1-jingxiangfeng@huawei.com> References: <20200918090747.44645-1-jingxiangfeng@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300023 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 mlxscore=0 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300023 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Sep 2020 17:07:47 +0800, Jing Xiangfeng wrote: > The variable ret is being initialized with '-ENOMEM' that is > meaningless. So remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: oak: Remove redundant initialization of variable ret https://git.kernel.org/mkp/scsi/c/713a846884ce -- Martin K. Petersen Oracle Linux Engineering