diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-04-03 17:48:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:02 -0400 |
commit | 74e77fb9a23813f5c2864d8e11cfec268a45c4cc (patch) | |
tree | ce9e5d8b27cfd87644c3295cb6f8c7b7e3a5d2d9 /mm/compaction.c | |
parent | 119d6d59dcc0980dcd581fdadb6b2033b512a473 (diff) |
mm/compaction.c: mark function as static
Mark function as static in compaction.c because it is not used outside
this file.
This eliminates the following warning from mm/compaction.c:
mm/compaction.c:1190:9: warning: no previous prototype for `sysfs_compact_node' [-Wmissing-prototypes
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
-rw-r--r-- | mm/compaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/compaction.c b/mm/compaction.c index 212f41c6278b..b6ab77160068 100644 --- a/mm/compaction.c +++ b/mm/compaction.c | |||
@@ -1235,7 +1235,7 @@ int sysctl_extfrag_handler(struct ctl_table *table, int write, | |||
1235 | } | 1235 | } |
1236 | 1236 | ||
1237 | #if defined(CONFIG_SYSFS) && defined(CONFIG_NUMA) | 1237 | #if defined(CONFIG_SYSFS) && defined(CONFIG_NUMA) |
1238 | ssize_t sysfs_compact_node(struct device *dev, | 1238 | static ssize_t sysfs_compact_node(struct device *dev, |
1239 | struct device_attribute *attr, | 1239 | struct device_attribute *attr, |
1240 | const char *buf, size_t count) | 1240 | const char *buf, size_t count) |
1241 | { | 1241 | { |