diff options
author | Jan Beulich | 2021-04-07 16:37:58 +0200 |
---|---|---|
committer | Juergen Gross | 2021-04-23 09:53:24 +0200 |
commit | a929e124060c448b367f56b28a0c118876147b1f (patch) | |
tree | 0b32fbf3168b7c9ecbbf25e0d5850be0af1b273f /ipc | |
parent | ec3307a5bb6823bd687a660c1ece9b271e0b1288 (diff) |
xen-pciback: simplify vpci's find hook
There's no point in comparing SBDF - we can simply compare the struct
pci_dev pointers. If they weren't the same for a given device, we'd have
bigger problems from having stored a stale pointer.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/158273a2-d1b9-3545-b25d-affca867376c@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions