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 get_device_id and check_device where appropriate
The logic of these two functions is reimplemented (at least in parts) in places in the code. This patch removes these code duplications and uses the functions instead. As a side effect it moves check_device() to the helper function code section. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
71c70984e5
commit
98fc5a693b
1 changed files with 49 additions and 61 deletions
Loading…
Add table
Add a link
Reference in a new issue