From: Behan Webster Date: Sat, 27 Sep 2014 01:11:45 +0000 (-0300) Subject: [media] ti-fpe: LLVMLinux: Remove nested function from ti-vpe X-Git-Tag: omap-for-v3.20/drop-legacy-3517~130^2~309 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61110fbab1f083249ac0ac7090526798d8815210;p=pandora-kernel.git [media] ti-fpe: LLVMLinux: Remove nested function from ti-vpe 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. Suggested-by: Arnd Bergmann Signed-off-by: Behan Webster Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed