aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-05-27 13:53:13 +0200
committerJoerg Roedel <jroedel@suse.de>2020-05-29 17:18:08 +0200
commit736c3333e3970e7eb0c47a3811588ff0e760f19b (patch)
tree95f771e5c2f69fd309317a50dec2f937d02faa59 /include/linux
parentiommu/amd: Store dev_data as device iommu private data (diff)
downloadwireguard-linux-736c3333e3970e7eb0c47a3811588ff0e760f19b.tar.xz
wireguard-linux-736c3333e3970e7eb0c47a3811588ff0e760f19b.zip
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/linux')
0 files changed, 0 insertions, 0 deletions