Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4603695pxk; Wed, 30 Sep 2020 07:16:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySB0P5dOhW2ZueZd9WHpSQz1nPHMYnHE6DiUksZYyrcGdcYQOn4zKEwgVklpzv81FRwZb2 X-Received: by 2002:a17:906:119b:: with SMTP id n27mr2975459eja.124.1601475359832; Wed, 30 Sep 2020 07:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601475359; cv=none; d=google.com; s=arc-20160816; b=1Bw3wQa+CHbguxGrwUbS5w5l3oO141JAgbh2GQAGjleLCfLgqh+3JwWdqzxiaViwe1 tWeL2Ll9atTgFMeeJhSyonofsXp15jMs86EVn7irvlK/iZfhgHhG7eaHGA00PcNw31Sk FNiioihJpS09cRxBmc/YNWQaSyiBIBBEG24HT9TK4napKmkZA6xk8xpWzzQNla9MSvK4 ySDmNUwT1kB9jhdXdNAkYSRGRxMNyIfog1j9K1QLGla+8wh57kPUku0VC0Xda5n5feD3 uqvB1PMPxjhbI0ucg/tKKkPiXwaLSpTmPJPpASuRsMo6AQAfCzmS7RBwyF2loonOHZlF bm7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=U/RoOYQ4A4TqJFSLqRj2gU8U+HDYbbjA5tSPrITjo2w=; b=QHjQ0Av/UiY1s/MVJ0OyzZaLrOe4Xtr/93ahTPrZk3RAuRwBxNtoCZBVsTJFf+iOTh 6muUbCfZCsiZvsbBUVTt/Aiw1NC4RjhMiHDOZPy1uQcIs8lqOUUKlUtHQJxz+0u4mWJD hw0cCiU+KTZMX5BEOwcnhfmRbwtYUZybhqIiWeamemqbmDwVW+BC7id9An6h2RFr1JO+ CSaRW92w9M7xiTDXcE423mWYHr53zQoaUqBSQWZ8uA7DmsTMx1I6TmrwGmDZVbDp17// AHpUtqWo7xhICTaOSDXETkO4hEsSndShcLnCXrPH+EXm6kwa5XetQnxG8azgEJ/lC0aQ fQQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=pd+f1r6l; 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 r25si1475526edc.505.2020.09.30.07.15.37; Wed, 30 Sep 2020 07:15:59 -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=pd+f1r6l; 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 S1730229AbgI3ONV (ORCPT + 99 others); Wed, 30 Sep 2020 10:13:21 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:59138 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgI3ONU (ORCPT ); Wed, 30 Sep 2020 10:13:20 -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 08UE3pWr152280; Wed, 30 Sep 2020 14:13:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=U/RoOYQ4A4TqJFSLqRj2gU8U+HDYbbjA5tSPrITjo2w=; b=pd+f1r6ljAVpW4XX8XAk2WCmCz/PDmzXqqGHiA1BN4LGQ11n2MOtkVB9Vk4qTy8rbY6A kRzKSDfd/KQjcxKZtLoXzmkqMkK5vw/R7KY4jipGkWoP2c8DbfInFlo3NT/ic5i5R2qR CCWTurP812znbdfzn1i5nPu7Gojc8g17J0NWmAL1GDJS/jpbmJ3in80HIODFtsUhkc9q 4o5XYUtaBtm+HhBRkzwZdXviD5SmTvkpmyAt3uKYfOGZNiqNqzjf6Ab+ZhcCOS8qwDJq vmFG5ypOVJcDK/MpLVQNkKsWqAFIic6PztWh3EgNFqqXqE0EdY+66TgCwM9JDHRtDgiS 1Q== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2130.oracle.com with ESMTP id 33su5b0tcj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Sep 2020 14:13:01 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08UEAuc6120305; Wed, 30 Sep 2020 14:13:00 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 33uv2fe7pp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Sep 2020 14:13:00 +0000 Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 08UECwlq023022; Wed, 30 Sep 2020 14:12:59 GMT Received: from [10.74.86.12] (/10.74.86.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 30 Sep 2020 07:12:58 -0700 Subject: Re: [PATCH] xen: remove redundant initialization of variable ret To: Jing Xiangfeng , jgross@suse.com, sstabellini@kernel.org Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20200919031702.32192-1-jingxiangfeng@huawei.com> From: boris.ostrovsky@oracle.com Organization: Oracle Corporation Message-ID: <73499fa3-fe37-46b8-0276-7e4f42a98f40@oracle.com> Date: Wed, 30 Sep 2020 10:12:56 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20200919031702.32192-1-jingxiangfeng@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9759 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 adultscore=0 suspectscore=2 malwarescore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009300113 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=2 lowpriorityscore=0 spamscore=0 clxscore=1011 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-2009300112 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/18/20 11:17 PM, Jing Xiangfeng wrote: > After commit 9f51c05dc41a ("pvcalls-front: Avoid > get_free_pages(GFP_KERNEL) under spinlock"), the variable ret is being > initialized with '-ENOMEM' that is meaningless. So remove it. > > Signed-off-by: Jing Xiangfeng Applied to for-linus-5.10 -boris