[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen/events: remove redundant initialization of variable irq


  • To: Juergen Gross <jgross@xxxxxxxx>, Colin King <colin.king@xxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Wed, 21 Jul 2021 15:23:34 -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-SenderADCheck; bh=dbE5AaXFjKwxOEq/ghfe4pTyn0yB32cJoCoFloJHJqQ=; b=QVtUW1VY5XESHnbYcjMiBRiuHsJD7koBtL2TH10xKvayTKrVAdrisy0jUq1+J3kDXuyjX4nEoh9GiECwoRfpdcMbfMlGcwLBgDcvSJarTTxSgPEGMpwoLUExVega9EcYCsJdQBUlu97rrXypLnkDD11PJ8TXUhmcPLTKYOn6+h4UuVfVLins6cBvPI3jIscN8JmSU1zhM4BMHkgC9Ctff+O7yk8wVV94yUEjzGchprOcuX0p8zB0diP2AAD4B26UP7bIexV2rqH4EYJRePy3TNZ3AyWQEXDwr6yLRTbAxSUtdUuMkIoPx+wA9cFVf+ukdztmGvKnWPMTGs05Uj1rAw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jOSuXHgDeWmcwI8XyU1Z5T56tQgpr8QI5ruIlMcmFyNZFL4l37pFN2ngVAUskFNQ73RPknhyn234OxmspEfZnJkj6kU5AAtOLVn9xhUisq7AvNZeAPeJm6nW/Uyyd29xi1i1ze7hkHD7mbIDZvNSv5ljaF+fvKoH1xb9ZDGogPPwFF8Dqc26XdstEslH/Dw9vkGB1UJa/KJffPv1M/y0mPhdV/KcE0v4sVoJINojNO8E18NYEQfqixJBDd7my72ug55pCI4vhRUo0qtRCjJ37Otj5JqpuS9FyILje+nWU0VV72HjibUDvkEdBSSwaLd6GIxrKqfuj5oborICLs690Q==
  • Authentication-results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=oracle.com;
  • Cc: kernel-janitors@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
  • Delivery-date: Wed, 21 Jul 2021 19:23:51 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 7/21/21 11:36 AM, Juergen Gross wrote:
> On 21.07.21 13:40, Colin King wrote:
>> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>>
>> The variable irq is being initialized with a value that is never
>> read, it is being updated later on. The assignment is redundant and
>> can be removed.
>>
>> Addresses-Coverity: ("Unused value")
>> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Reviewed-by: Juergen Gross <jgross@xxxxxxxx>



Applied to for-linus-5.14


-boris




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.