Re: [PATCH] KVM: PPC: remove unneeded variable

2023-06-21 Thread Thomas Huth
On 14/06/2023 07.58, baomingtong...@208suo.com wrote: fix the following coccicheck warning: arch/powerpc/kvm/book3s_pr.c:424:5-6: Unneeded variable: "r". Signed-off-by: Mingtong Bao ---  arch/powerpc/kvm/book3s_pr.c | 5 ++---  1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arc

[PATCH] KVM: PPC: remove unneeded variable

2023-06-13 Thread baomingtong001
fix the following coccicheck warning: arch/powerpc/kvm/book3s_pr.c:424:5-6: Unneeded variable: "r". Signed-off-by: Mingtong Bao --- arch/powerpc/kvm/book3s_pr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c

Re: [PATCH] KVM: PPC: remove unneeded variable

2023-06-13 Thread Paul Mackerras
On Wed, Jun 14, 2023 at 10:34:45AM +0800, baomingtong...@208suo.com wrote: > fix the following coccicheck warning: > > arch/powerpc/kvm/book3s_pr.c:424:5-6: Unneeded variable: "r". > > Signed-off-by: Mingtong Bao > --- > arch/powerpc/kvm/book3s_pr.c | 4 ++-- > 1 file changed, 2 insertions(+),

[PATCH] KVM: PPC: remove unneeded variable

2023-06-13 Thread baomingtong001
fix the following coccicheck warning: arch/powerpc/kvm/book3s_pr.c:424:5-6: Unneeded variable: "r". Signed-off-by: Mingtong Bao --- arch/powerpc/kvm/book3s_pr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c i