aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/kvm/kvm_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 1b86ab0d42f6..62adaeedfdb0 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -1776,8 +1776,6 @@ int kvm_setup_pio(struct kvm_vcpu *vcpu, struct kvm_run *run, int in,
1776 return 1; 1776 return 1;
1777 } 1777 }
1778 1778
1779 now = min(count, PAGE_SIZE / size);
1780
1781 if (!down) 1779 if (!down)
1782 in_page = PAGE_SIZE - offset_in_page(address); 1780 in_page = PAGE_SIZE - offset_in_page(address);
1783 else 1781 else