summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDongli Zhang <dongli.zhang@oracle.com>2022-06-11 10:25:12 +0200
committerChristoph Hellwig <hch@lst.de>2022-06-22 12:42:02 +0200
commit466298c65678e7a2bd7bd268fd3776de73e96a4b (patch)
tree2c3e120f655357dd887df89a0a027d08d2eed8fd /kernel
parentswiotlb: remove the unused swiotlb_force declaration (diff)
downloadlinux-466298c65678e7a2bd7bd268fd3776de73e96a4b.tar.xz
linux-466298c65678e7a2bd7bd268fd3776de73e96a4b.zip
swiotlb: remove a useless return in swiotlb_init
Both swiotlb_init_remap() and swiotlb_init() have return type void. Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/dma/swiotlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index cb50f8d38360..fd21f4162f4b 100644
--- a/kernel/dma/swiotlb.c
+++ b/kernel/dma/swiotlb.c
@@ -282,7 +282,7 @@ retry:
void __init swiotlb_init(bool addressing_limit, unsigned int flags)
{
- return swiotlb_init_remap(addressing_limit, flags, NULL);
+ swiotlb_init_remap(addressing_limit, flags, NULL);
}
/*