diff options
author | David Hildenbrand <david@redhat.com> | 2020-05-07 16:01:36 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-04 15:36:52 -0400 |
commit | 3c42e198e668e4040ef5cf3ad60d57765abc08a4 (patch) | |
tree | b4e6383775ebb0c49309991b4a94191650f4d2bb /arch/openrisc | |
parent | ebf71552bb0e690cad523ad175e8c4c89a33c333 (diff) | |
download | linux-3c42e198e668e4040ef5cf3ad60d57765abc08a4.tar.bz2 |
virtio-mem: Drop manual check for already present memory
Registering our parent resource will fail if any memory is still present
(e.g., because somebody unloaded the driver and tries to reload it). No
need for the manual check.
Move our "unplug all" handling to after registering the resource.
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20200507140139.17083-13-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions