commit | 1af916b701db1a9905e559e742f45818eb233d12 | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Thu Sep 22 10:45:39 2016 +0200 |
committer | David Vrabel <david.vrabel@citrix.com> | Fri Sep 30 11:48:33 2016 +0100 |
tree | 03ee3cfec7d54701da6ec6af1d022d54bea03bbc | |
parent | 72a9b186292d98494f222226cfd24a1621796209 [diff] |
xen/pciback: simplify pcistub device handling The Xen pciback driver maintains a list of all its seized devices. There are two functions searching the list for a specific device with basically the same semantics just returning different structures in case of a match. Split out the search function. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>