mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-05 00:52:57 +01:00
Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better. This code now works for both gcc and clang. Signed-off-by: Behan Webster <[email protected]> Suggested-by: Arnd Bergmann <[email protected]> Cc: Arnd Bergmann <[email protected]> Reviewed-by: Felipe Balbi <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>