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>
这个提交包含在:
@@ -398,11 +398,6 @@ static int restore_common(struct virtio_device *vdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int virtballoon_thaw(struct virtio_device *vdev)
|
||||
{
|
||||
return restore_common(vdev);
|
||||
}
|
||||
|
||||
static int virtballoon_restore(struct virtio_device *vdev)
|
||||
{
|
||||
return restore_common(vdev);
|
||||
@@ -426,7 +421,6 @@ static struct virtio_driver virtio_balloon_driver = {
|
||||
#ifdef CONFIG_PM
|
||||
.freeze = virtballoon_freeze,
|
||||
.restore = virtballoon_restore,
|
||||
.thaw = virtballoon_thaw,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户