diff options
author | Joerg Roedel | 2020-05-27 13:53:13 +0200 |
---|---|---|
committer | Joerg Roedel | 2020-05-29 17:18:08 +0200 |
commit | 736c3333e3970e7eb0c47a3811588ff0e760f19b (patch) | |
tree | 95f771e5c2f69fd309317a50dec2f937d02faa59 /include/uapi | |
parent | 05a0542b456e135f362ba83a17ccff73bac0b92f (diff) |
iommu/amd: Remove redundant devid checks
Checking the return value of get_device_id() in a code-path which has
already done check_device() is not needed, as check_device() does the
same check and bails out if it fails.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20200527115313.7426-11-joro@8bytes.org
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions