aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2022-05-10 10:34:00 +0800
committerJoerg Roedel <[email protected]>2022-05-13 15:14:56 +0200
commitcd901e9284c7893eebee6857ebe30b691ea91224 (patch)
treec202e948f9f4ed28df2b9c6ba158174f3811e4fc /include/linux/fpga/fpga-mgr.h
parentb8397a8f4ebc0b84eefd990dc08995ba2ae9015c (diff)
iommu/vt-d: Remove unneeded validity check on dev
dev_iommu_priv_get() is being used at the top of this function which dereferences dev. Dev cannot be NULL after this. Remove the validity check on dev and simplify the code. Signed-off-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions