Skip to content

Commit

Permalink
lib/lcm.c: replace include
Browse files Browse the repository at this point in the history
We don't need all the stuff kernel.h pulls in; just compiler.h since
export.h doesn't do necessary #includes.  This removes more than 100
dependencies.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Rasmus Villemoes authored and Linus Torvalds committed Feb 13, 2015
1 parent 6918584 commit 6016dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lcm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/gcd.h>
#include <linux/export.h>
#include <linux/lcm.h>
Expand Down

0 comments on commit 6016dae

Please sign in to comment.