aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-08-08 09:12:54 -0500
committerAlex Williamson <alex.williamson@redhat.com>2019-08-19 13:28:57 -0600
commiteee413e620f408e1e88d94b16d05f45407939d1b (patch)
tree29566a70f108c4f4ccf0f0e91f50fda92ba00cb2 /scripts/gdb/linux/utils.py
parentLinux 5.3-rc5 (diff)
downloadwireguard-linux-eee413e620f408e1e88d94b16d05f45407939d1b.tar.xz
wireguard-linux-eee413e620f408e1e88d94b16d05f45407939d1b.zip
vfio-mdev/mtty: Simplify interrupt generation
While generating interrupt, mdev_state is already available for which interrupt is generated. Instead of doing indirect way from state->device->uuid-> to searching state linearly in linked list on every interrupt generation, directly use the available state. Hence, simplify the code to use mdev_state and remove unused helper function with that. Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions