diff --git a/virt/kvm/binary_stats.c b/virt/kvm/binary_stats.c
index e609d428811a9bfaf17cd3fef7084463b8d5a4a4..eefca6c69f519ebf109e41a93bcce32ae7ebac18 100644
--- a/virt/kvm/binary_stats.c
+++ b/virt/kvm/binary_stats.c
@@ -136,9 +136,7 @@ ssize_t kvm_stats_read(char *id, const struct kvm_stats_header *header,
 		src = stats + pos - header->data_offset;
 		if (copy_to_user(dest, src, copylen))
 			return -EFAULT;
-		remain -= copylen;
 		pos += copylen;
-		dest += copylen;
 	}
 
 	*offset = pos;