From: Rashika Kheria Date: Thu, 3 Apr 2014 21:48:01 +0000 (-0700) Subject: mm/compaction.c: mark function as static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74e77fb9a23813f5c2864d8e11cfec268a45c4cc;p=linux-beck.git 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 Reviewed-by: Josh Triplett Reviewed-by: Rik van Riel Acked-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, } #if defined(CONFIG_SYSFS) && defined(CONFIG_NUMA) -ssize_t sysfs_compact_node(struct device *dev, +static ssize_t sysfs_compact_node(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) {