Re: [RESEND PATCH 1/1] iommu/amd: Remove unnecessary assignment

2021-01-27 Thread Joerg Roedel
On Thu, Dec 10, 2020 at 10:13:30AM +0800, Adrian Huang wrote: > drivers/iommu/amd/init.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Applied, thanks. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.

Re: [RESEND PATCH 1/1] iommu/amd: Remove unnecessary assignment

2021-01-18 Thread Will Deacon
On Thu, Dec 10, 2020 at 10:13:30AM +0800, Adrian Huang wrote: > From: Adrian Huang > > From: Adrian Huang > > The values of local variables are assigned after local variables > are declared, so no need to assign the initial value during the > variable declaration. > > And, no need to assign NU

[RESEND PATCH 1/1] iommu/amd: Remove unnecessary assignment

2020-12-09 Thread Adrian Huang
From: Adrian Huang From: Adrian Huang The values of local variables are assigned after local variables are declared, so no need to assign the initial value during the variable declaration. And, no need to assign NULL for the local variable 'ivrs_base' after invoking acpi_put_table(). Signed-o

Re: [PATCH 1/1] iommu/amd: Remove unnecessary assignment

2020-12-09 Thread Will Deacon
On Wed, Dec 09, 2020 at 03:32:50PM +, Adrian Huang12 wrote: > Gentle ping. Sorry, I hadn't noticed this patch. However, I haven't been able to apply this successfully as b4 doesn't seem to identify it as a patch and I only have this reply in my mailbox. Please can you send it again, with me o

RE: [PATCH 1/1] iommu/amd: Remove unnecessary assignment

2020-12-09 Thread Adrian Huang12
Gentle ping. -- Adrian > -Original Message- > From: Adrian Huang > Sent: Monday, October 12, 2020 3:01 PM > To: Joerg Roedel > Cc: iommu@lists.linux-foundation.org; Adrian Huang > ; Adrian Huang12 > Subject: [External] [PATCH 1/1] iommu/amd: Remove unnecessary

[PATCH 1/1] iommu/amd: Remove unnecessary assignment

2020-10-12 Thread Adrian Huang
From: Adrian Huang The values of local variables are assigned after local variables are declared, so no need to assign the initial value during the variable declaration. And, no need to assign NULL for the local variable 'ivrs_base' after invoking acpi_put_table(). Signed-off-by: Adrian Huang