aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_balloon.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2012-03-29 03:20:20 -0400
committerAmit Shah <amit.shah@redhat.com>2012-03-30 22:39:50 -0400
commitf38f8387cbdc4138a492ce9f2a5f04fd3cd3cf33 (patch)
tree037dfe639de15cbf6be59182872531a23cc20398 /drivers/virtio/virtio_balloon.c
parente47d854e57698d3be4579d2118f6057f9f12a17c (diff)
virtio: drop thaw PM operation
The thaw operation was used by the balloon driver, but after the last commit there's no reason to have separate thaw and restore callbacks. Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r--drivers/virtio/virtio_balloon.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 9f1bb36d67f..05f0a80818a 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -398,11 +398,6 @@ static int restore_common(struct virtio_device *vdev)
398 return 0; 398 return 0;
399} 399}
400 400
401static int virtballoon_thaw(struct virtio_device *vdev)
402{
403 return restore_common(vdev);
404}
405
406static int virtballoon_restore(struct virtio_device *vdev) 401static int virtballoon_restore(struct virtio_device *vdev)
407{ 402{
408 return restore_common(vdev); 403 return restore_common(vdev);
@@ -426,7 +421,6 @@ static struct virtio_driver virtio_balloon_driver = {
426#ifdef CONFIG_PM 421#ifdef CONFIG_PM
427 .freeze = virtballoon_freeze, 422 .freeze = virtballoon_freeze,
428 .restore = virtballoon_restore, 423 .restore = virtballoon_restore,
429 .thaw = virtballoon_thaw,
430#endif 424#endif
431}; 425};
432 426