lib/sort.c: move include inside #if 0
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 12 Feb 2015 23:03:10 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Feb 2015 02:54:16 +0000 (18:54 -0800)
commit2ddae683bf36d50b960402a94a55047ab0c73e2c
tree60f4e5c60f8a7b9ba5c589601c3f62ac7d417a42
parentb8b6db1793551fac131834d413199197f86b6b5f
lib/sort.c: move include inside #if 0

The sort function and its helpers don't do memory allocation, so the
slab.h include is redundant.  Move it inside the #if 0 protecting the
self-test, similar to how it is done in lib/list_sort.c.  This removes
over 450 lines from the generated dependency file.

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>
lib/sort.c
This page took 0.02462 seconds and 5 git commands to generate.