aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_balloon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r--drivers/virtio/virtio_balloon.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 958e5129c601..9f1bb36d67ff 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -405,14 +405,6 @@ static int virtballoon_thaw(struct virtio_device *vdev)
405 405
406static int virtballoon_restore(struct virtio_device *vdev) 406static int virtballoon_restore(struct virtio_device *vdev)
407{ 407{
408 struct virtio_balloon *vb = vdev->priv;
409
410 /*
411 * If a request wasn't complete at the time of freezing, this
412 * could have been set.
413 */
414 vb->need_stats_update = 0;
415
416 return restore_common(vdev); 408 return restore_common(vdev);
417} 409}
418#endif 410#endif