Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
swiotlb: remove a useless return in swiotlb_init
Browse files Browse the repository at this point in the history
Both swiotlb_init_remap() and swiotlb_init() have return type void.

Signed-off-by: Dongli Zhang <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
  • Loading branch information
Dongli Zhang authored and Christoph Hellwig committed Jun 22, 2022
1 parent 1a3c7d0 commit 466298c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/dma/swiotlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ void __init swiotlb_init_remap(bool addressing_limit, unsigned int flags,

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);
}

/*
Expand Down

0 comments on commit 466298c

Please sign in to comment.