mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
x86/amd-iommu: Use check_device in get_device_resources
Every call-place of get_device_resources calls check_device before it. So call it from get_device_resources directly and simplify the code. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
420aef8a3a
commit
f99c0f1c75
1 changed files with 28 additions and 58 deletions
Loading…
Add table
Add a link
Reference in a new issue