diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-07-20 14:53:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-08-26 17:15:28 +0200 |
commit | eb24a23e15580c2c6ab144a6bbf7f825506849ae (patch) | |
tree | 8ce65f145495ccece21c0e8743ebcabf86c495e8 /backends | |
parent | a5c051b2cf11197b1663dfb470e80dbc32d77cd0 (diff) |
vfio: Avoid error_propagate() after migrate_add_blocker()
When migrate_add_blocker(blocker, &err) is followed by
error_propagate(errp, err), we can often just as well do
migrate_add_blocker(..., errp). This is the case in
vfio_migration_probe().
Prior art: commit 386f6c07d2 "error: Avoid error_propagate() after
migrate_add_blocker()".
Cc: Kirti Wankhede <kwankhede@nvidia.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210720125408.387910-8-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions