From: Rasmus Villemoes Date: Thu, 12 Feb 2015 23:02:37 +0000 (-0800) Subject: lib/dynamic_queue_limits.c: simplify includes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=565ac23b81ebbcfad4111fa9c743ebc7fc25a4f7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git lib/dynamic_queue_limits.c: simplify includes The file doesn't use anything from ctype.h. Instead of module.h, just use export.h for EXPORT_SYMBOL. The latter requires the user to include compiler.h, so do that explicitly instead of relying on some other header pulling it in. Signed-off-by: Rasmus Villemoes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/dynamic_queue_limits.c b/lib/dynamic_queue_limits.c index 0777c5a45fa0..f346715e2255 100644 --- a/lib/dynamic_queue_limits.c +++ b/lib/dynamic_queue_limits.c @@ -3,12 +3,12 @@ * * Copyright (c) 2011, Tom Herbert */ -#include #include -#include #include #include #include +#include +#include #define POSDIFF(A, B) ((int)((A) - (B)) > 0 ? (A) - (B) : 0) #define AFTER_EQ(A, B) ((int)((A) - (B)) >= 0)