[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] arch:x86:xen: Remove unnecessary assignment in xen_apic_read()
- To: jianchunfu <jianchunfu@xxxxxxxxxxxxxxxxxxxx>, tglx@xxxxxxxxxxxxx
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Wed, 16 Mar 2022 17:48:16 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wZtpzwDGjiPae7stspqZY4t+SgZzNALigEBwA7Pgq5c=; b=hpbFVePbLVIAGu3MaZTlP1oQL6WXo6YDKp/J7WwZrpMAPez/crQSUDNpbsYJEDq7VXOcIicW6S9Sd+/fUrWZKOVaBSaCP7Pku4FC/IvHPpbUG4kRWOiEWZKwG6BhoalUgzyn19b4YicK1o6v/fyBkp5wO4LDJQsN26+oNQITwjz3sJU5Rsj/d+2NDhCtEVYbFc5mJSxCrffnxPax8gDR4zE7XQfsSvYHXaWVxPlF6RaaVEWELrJ6+TdPppBbs2HqE2mBSlSkxeA3mB6II3mIyxanly9ZhZqVA9mplyYl0vNIhWoCUXEAWkE25Iwj2gRRG6J3TZjPs30xcGAoNVl1Eg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CDCZo4/FgBX0Ws86n72zk7Vwctx6hhcmZ+ERawAkn4QLHd2swEuQa+4tvUWvGSkfSVYO/8Lhuwvatn8H9/KSPoGfig1uhPz9/RUY0DKgNittx+gpiD1Ddc/HlgYh8ODoHd8cA3UOXrrlpujfcRE6ftm4LbU4qeQQqNo1XYyXYHdCrbLct9LUIFeAAv5LKbdh0vCHC9QvpNBIgHD11tsItzSjk2Gakp/Pm+qClMzoeZxYALOL1Z/EBLN3KBJHW+SiML3xcIHDbRxqvpKWCu1FNNDN6eR7KIr6AVsb35TrERDIrdCwyzUSrqjI/RvMwUS0LfycqgZhBQm4rQQ7f3jCGQ==
- Cc: x86@xxxxxxxxxx, hpa@xxxxxxxxx, sstabellini@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, trivial@xxxxxxxxxx
- Delivery-date: Wed, 16 Mar 2022 21:48:37 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 3/14/22 3:05 AM, jianchunfu wrote:
In the function xen_apic_read(), the initialized value of 'ret' is unused
because it will be assigned by the function HYPERVISOR_platform_op(),
thus remove it.
Signed-off-by: jianchunfu <jianchunfu@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
Applied to for-linus-5.18 (both patches)
|