projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3c7d0
)
swiotlb: remove a useless return in swiotlb_init
author
Dongli Zhang
<dongli.zhang@oracle.com>
Sat, 11 Jun 2022 08:25:12 +0000
(
01:25
-0700)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 22 Jun 2022 10:42:02 +0000
(12:42 +0200)
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>
kernel/dma/swiotlb.c
patch
|
blob
|
history
diff --git
a/kernel/dma/swiotlb.c
b/kernel/dma/swiotlb.c
index cb50f8d383606be7b12bf6b9f6c5c6799f3fb1a5..fd21f4162f4b315c5c0b08b18fd4b6021b4a6086 100644
(file)
--- 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);
}
/*