]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/amd: remove return value of amd_iommu_detect
authorGao Shiyuan <gaoshiyuan@baidu.com>
Fri, 3 Jan 2025 16:58:08 +0000 (00:58 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 6 Jan 2025 11:42:00 +0000 (12:42 +0100)
commit5bb494d5cbb9a3403ba8b1c8bc145b42fc119078
treed6fc3070a53015d6cb9062780dd3c475fde2cc95
parentb0988acc94c021d8d428c9496649a1b4e6203011
iommu/amd: remove return value of amd_iommu_detect

The return value of amd_iommu_detect is not used, so remove it and
is consistent with other iommu detect functions.

Signed-off-by: Gao Shiyuan <gaoshiyuan@baidu.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20250103165808.80939-1-gaoshiyuan@baidu.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/init.c
include/linux/amd-iommu.h