commit | 2ddae683bf36d50b960402a94a55047ab0c73e2c | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <[email protected]> | Thu Feb 12 15:03:10 2015 -0800 |
committer | Linus Torvalds <[email protected]> | Thu Feb 12 18:54:16 2015 -0800 |
tree | 60f4e5c60f8a7b9ba5c589601c3f62ac7d417a42 | |
parent | b8b6db1793551fac131834d413199197f86b6b5f [diff] |
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>