From: Rasmus Villemoes Date: Thu, 12 Feb 2015 23:02:35 +0000 (-0800) Subject: lib/sort.c: use simpler includes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42cf809654e4ea2fa16dd73608e153f1c6f7c2ed;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git lib/sort.c: use simpler includes sort.c doesn't use facilities from kernel.h, but does use some types defined in linux/types.h. Include the latter directly instead of relying on some other header doing it. Similarly, include linux/export.h directly instead of through module.h. This removes 80 lines from the dependency file .sort.o.cmd. Signed-off-by: Rasmus Villemoes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/sort.c b/lib/sort.c index 926d00429ed2..14fc1dfadb3f 100644 --- a/lib/sort.c +++ b/lib/sort.c @@ -4,8 +4,8 @@ * Jan 23 2005 Matt Mackall */ -#include -#include +#include +#include #include #include