diff options
author | Yishai Hadas <yishaih@nvidia.com> | 2023-09-11 12:38:50 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-09-28 13:07:29 -0600 |
commit | 34a64c8eac2380a28eeab191dc5bf4e0dbadf7c6 (patch) | |
tree | 908c163cfb1f2aebcc70eb1179b86fe4d4fa026b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 82470eba9df97a021309b360ec48342deaa3c7af (diff) |
vfio/mlx5: Refactor the SAVE callback to activate a work only upon an error
Upon a successful SAVE callback there is no need to activate a work, all
the required stuff can be done directly.
As so, refactor the above flow to activate a work only upon an error.
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230911093856.81910-4-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions