Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3764993pxk; Tue, 22 Sep 2020 01:45:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaoYFT6Pv63Pc1qE5Y6sLYJ7O5XZqcHQXJBsFlh6WlZozYprkNNuCVyPjVXoHgu8yytvc6 X-Received: by 2002:a17:907:70cb:: with SMTP id yk11mr3657755ejb.312.1600764344923; Tue, 22 Sep 2020 01:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600764344; cv=none; d=google.com; s=arc-20160816; b=kDb8a69YeRIkwgnt0hPI7O8NPJxR0WMPxw6jJuXy22AIQllIZ8RuBfU/WzKFFsTJmO OecLCWTifbM5ExiGl3vg7zT87m9pnFAXKRAxVyuRxIDX8L5sxoM/mj/p7iRIVKfdbho2 zTmgeH4A5I4nlgZJaA5n6SJo5CELccSh0sFHkZ4WKNF030w4Ax4pogXBTHlvvXoO31Vg wAbwbVeXrSIb0cJvaDjUqAHWu97UW2u3zIZqBl2tdl+lBNYBbKSMJheudC47+UCmXeZp e5rPw8PjfXexEc9e6UjH+U8+91GuOB8uXx4xk2P53n6F+08cH7py9B5stFR0h6n8i4Se LuiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=p3AfavqP40RUc2ETYtkDYnb3b9veh8eZpjijhPHw0fc=; b=zqRhXNegRhtUt+K6UBY1pnKxdkodwbqTSyplP5vUe3n4DqSXdC1b0Nv/ARbESR/WdD UG/qTse8ldKaaUomJ5IMKbqC/80wfV/63YU1WMqiJ6KIL1UPKMO35T5LENDsGSFywxFU Slh6Ik1AEUxFE6FFxEC+VdFLvhzJSz9Q5EQOlqroHMd1CV0+7GIZg/MTyoZJjyL3/+Cc aBpFJ6LUSSu+SZTJ0N8SMfZI4qeiQwTaeVy7pLk4faodkKfDGdvJpOI0xsg7DYSsfuKw Yv0sOihDMKQ+t+Dw9q/4SHJBnYxSrXXFIvMjFUEE06znfcyt6xQ/tbE2apPpuJZIaJsB TWRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=TWukYMwD; 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=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mc3si9954865ejb.404.2020.09.22.01.45.20; Tue, 22 Sep 2020 01:45:44 -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=@suse.com header.s=susede1 header.b=TWukYMwD; 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=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbgIVIoX (ORCPT + 99 others); Tue, 22 Sep 2020 04:44:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:51266 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbgIVIoX (ORCPT ); Tue, 22 Sep 2020 04:44:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1600764261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p3AfavqP40RUc2ETYtkDYnb3b9veh8eZpjijhPHw0fc=; b=TWukYMwD7NFNDXCfb/SO1wW+Oz14Lc4t+udWA6n+g3RqJeXVz2Juwadua8CE15vItHHMrs X6WmgQfgzuJ2s2nZDqn6V++LThK0r867znHK8COMio8Ev1fv4NV1F1uVtxdHD6OCRwLsKU rvXF2wfA4LKaMQ6GOgWLDnTfsNUc0CE= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 733E9ACBF; Tue, 22 Sep 2020 08:44:58 +0000 (UTC) Subject: Re: [PATCH] xen: remove redundant initialization of variable ret To: Jing Xiangfeng , boris.ostrovsky@oracle.com, sstabellini@kernel.org Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20200919031702.32192-1-jingxiangfeng@huawei.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: <94b57348-2a8c-b0b9-1b83-b92b1e0216c9@suse.com> Date: Tue, 22 Sep 2020 10:44:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200919031702.32192-1-jingxiangfeng@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19.09.20 05:17, 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 Reviewed-by: Juergen Gross Juergen