* [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
@ 2012-10-17 15:03 ` Wei Yongjun
0 siblings, 0 replies; 8+ messages in thread
From: Wei Yongjun @ 2012-10-17 15:03 UTC (permalink / raw)
To: avi, mtosatti, xiantao.zhang, tony.luck, fenghua.yu
Cc: yongjun_wei, kvm, kvm-ia64, linux-ia64
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
The variable base_gfn is initialized but never used
otherwise, so remove the unused variable.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
arch/ia64/kvm/kvm-ia64.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 8b3a9c0..c71acd7 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -1362,11 +1362,9 @@ static void kvm_release_vm_pages(struct kvm *kvm)
struct kvm_memslots *slots;
struct kvm_memory_slot *memslot;
int j;
- unsigned long base_gfn;
slots = kvm_memslots(kvm);
kvm_for_each_memslot(memslot, slots) {
- base_gfn = memslot->base_gfn;
for (j = 0; j < memslot->npages; j++) {
if (memslot->rmap[j])
put_page((struct page *)memslot->rmap[j]);
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
@ 2012-10-17 15:03 ` Wei Yongjun
0 siblings, 0 replies; 8+ messages in thread
From: Wei Yongjun @ 2012-10-17 15:03 UTC (permalink / raw)
To: avi, mtosatti, xiantao.zhang, tony.luck, fenghua.yu
Cc: yongjun_wei, kvm, kvm-ia64, linux-ia64
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
The variable base_gfn is initialized but never used
otherwise, so remove the unused variable.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
arch/ia64/kvm/kvm-ia64.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 8b3a9c0..c71acd7 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -1362,11 +1362,9 @@ static void kvm_release_vm_pages(struct kvm *kvm)
struct kvm_memslots *slots;
struct kvm_memory_slot *memslot;
int j;
- unsigned long base_gfn;
slots = kvm_memslots(kvm);
kvm_for_each_memslot(memslot, slots) {
- base_gfn = memslot->base_gfn;
for (j = 0; j < memslot->npages; j++) {
if (memslot->rmap[j])
put_page((struct page *)memslot->rmap[j]);
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
@ 2012-10-17 15:03 ` Wei Yongjun
0 siblings, 0 replies; 8+ messages in thread
From: Wei Yongjun @ 2012-10-17 15:03 UTC (permalink / raw)
To: kvm-ia64
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
The variable base_gfn is initialized but never used
otherwise, so remove the unused variable.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
arch/ia64/kvm/kvm-ia64.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 8b3a9c0..c71acd7 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -1362,11 +1362,9 @@ static void kvm_release_vm_pages(struct kvm *kvm)
struct kvm_memslots *slots;
struct kvm_memory_slot *memslot;
int j;
- unsigned long base_gfn;
slots = kvm_memslots(kvm);
kvm_for_each_memslot(memslot, slots) {
- base_gfn = memslot->base_gfn;
for (j = 0; j < memslot->npages; j++) {
if (memslot->rmap[j])
put_page((struct page *)memslot->rmap[j]);
^ permalink raw reply related [flat|nested] 8+ messages in thread
* RE: [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
2012-10-17 15:03 ` Wei Yongjun
@ 2012-10-18 0:23 ` Zhang, Xiantao
-1 siblings, 0 replies; 8+ messages in thread
From: Zhang, Xiantao @ 2012-10-18 0:23 UTC (permalink / raw)
To: Wei Yongjun, avi, mtosatti, Luck, Tony, Yu, Fenghua
Cc: yongjun_wei, kvm, kvm-ia64, linux-ia64, Zhang, Xiantao
Acked-by: Xiantao Zhang<xiantao.zhang@intel.com>
> -----Original Message-----
> From: Wei Yongjun [mailto:weiyj.lk@gmail.com]
> Sent: Wednesday, October 17, 2012 11:04 PM
> To: avi@redhat.com; mtosatti@redhat.com; Zhang, Xiantao; Luck, Tony; Yu,
> Fenghua
> Cc: yongjun_wei@trendmicro.com.cn; kvm@vger.kernel.org; kvm-
> ia64@vger.kernel.org; linux-ia64@vger.kernel.org
> Subject: [PATCH] KVM: ia64: remove unused variable in
> kvm_release_vm_pages()
>
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> The variable base_gfn is initialized but never used otherwise, so remove the
> unused variable.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
> arch/ia64/kvm/kvm-ia64.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index
> 8b3a9c0..c71acd7 100644
> --- a/arch/ia64/kvm/kvm-ia64.c
> +++ b/arch/ia64/kvm/kvm-ia64.c
> @@ -1362,11 +1362,9 @@ static void kvm_release_vm_pages(struct kvm
> *kvm)
> struct kvm_memslots *slots;
> struct kvm_memory_slot *memslot;
> int j;
> - unsigned long base_gfn;
>
> slots = kvm_memslots(kvm);
> kvm_for_each_memslot(memslot, slots) {
> - base_gfn = memslot->base_gfn;
> for (j = 0; j < memslot->npages; j++) {
> if (memslot->rmap[j])
> put_page((struct page *)memslot->rmap[j]);
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
@ 2012-10-18 0:23 ` Zhang, Xiantao
0 siblings, 0 replies; 8+ messages in thread
From: Zhang, Xiantao @ 2012-10-18 0:23 UTC (permalink / raw)
To: kvm-ia64
Acked-by: Xiantao Zhang<xiantao.zhang@intel.com>
> -----Original Message-----
> From: Wei Yongjun [mailto:weiyj.lk@gmail.com]
> Sent: Wednesday, October 17, 2012 11:04 PM
> To: avi@redhat.com; mtosatti@redhat.com; Zhang, Xiantao; Luck, Tony; Yu,
> Fenghua
> Cc: yongjun_wei@trendmicro.com.cn; kvm@vger.kernel.org; kvm-
> ia64@vger.kernel.org; linux-ia64@vger.kernel.org
> Subject: [PATCH] KVM: ia64: remove unused variable in
> kvm_release_vm_pages()
>
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> The variable base_gfn is initialized but never used otherwise, so remove the
> unused variable.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
> arch/ia64/kvm/kvm-ia64.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index
> 8b3a9c0..c71acd7 100644
> --- a/arch/ia64/kvm/kvm-ia64.c
> +++ b/arch/ia64/kvm/kvm-ia64.c
> @@ -1362,11 +1362,9 @@ static void kvm_release_vm_pages(struct kvm
> *kvm)
> struct kvm_memslots *slots;
> struct kvm_memory_slot *memslot;
> int j;
> - unsigned long base_gfn;
>
> slots = kvm_memslots(kvm);
> kvm_for_each_memslot(memslot, slots) {
> - base_gfn = memslot->base_gfn;
> for (j = 0; j < memslot->npages; j++) {
> if (memslot->rmap[j])
> put_page((struct page *)memslot->rmap[j]);
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
2012-10-17 15:03 ` Wei Yongjun
(?)
@ 2012-10-26 20:51 ` Marcelo Tosatti
-1 siblings, 0 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2012-10-26 20:51 UTC (permalink / raw)
To: Wei Yongjun
Cc: avi, xiantao.zhang, tony.luck, fenghua.yu, yongjun_wei, kvm,
kvm-ia64, linux-ia64
On Wed, Oct 17, 2012 at 11:03:42PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> The variable base_gfn is initialized but never used
> otherwise, so remove the unused variable.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
> arch/ia64/kvm/kvm-ia64.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
@ 2012-10-26 20:51 ` Marcelo Tosatti
0 siblings, 0 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2012-10-26 20:51 UTC (permalink / raw)
To: Wei Yongjun
Cc: avi, xiantao.zhang, tony.luck, fenghua.yu, yongjun_wei, kvm,
kvm-ia64, linux-ia64
On Wed, Oct 17, 2012 at 11:03:42PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> The variable base_gfn is initialized but never used
> otherwise, so remove the unused variable.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
> arch/ia64/kvm/kvm-ia64.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages()
@ 2012-10-26 20:51 ` Marcelo Tosatti
0 siblings, 0 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2012-10-26 20:51 UTC (permalink / raw)
To: kvm-ia64
On Wed, Oct 17, 2012 at 11:03:42PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> The variable base_gfn is initialized but never used
> otherwise, so remove the unused variable.
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
> arch/ia64/kvm/kvm-ia64.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-10-26 20:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-17 15:03 [PATCH] KVM: ia64: remove unused variable in kvm_release_vm_pages() Wei Yongjun
2012-10-17 15:03 ` Wei Yongjun
2012-10-17 15:03 ` Wei Yongjun
2012-10-18 0:23 ` Zhang, Xiantao
2012-10-18 0:23 ` Zhang, Xiantao
2012-10-26 20:51 ` Marcelo Tosatti
2012-10-26 20:51 ` Marcelo Tosatti
2012-10-26 20:51 ` Marcelo Tosatti
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.