From: Rashika Kheria Date: Sun, 9 Feb 2014 13:03:15 +0000 (+0530) Subject: fs: Mark functions as static in exofs/ore_raid.c X-Git-Tag: v4.14-rc1~7705^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0961f02a3799e1f0aeb3185567185a80265ef36b;p=platform%2Fkernel%2Flinux-rpi.git fs: Mark functions as static in exofs/ore_raid.c Mark functions as static in exofs/ore_raid.c because they are not used outside this file. This also eliminates the following warning in exofs/ore_raid.c: fs/exofs/ore_raid.c:24:14: warning: no previous prototype for _raid_page_alloc [-Wmissing-prototypes] fs/exofs/ore_raid.c:29:6: warning: no previous prototype for _raid_page_free [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Boaz Harrosh --- diff --git a/fs/exofs/ore_raid.c b/fs/exofs/ore_raid.c index 7682b97..4e2c032 100644 --- a/fs/exofs/ore_raid.c +++ b/fs/exofs/ore_raid.c @@ -21,12 +21,12 @@ #undef ORE_DBGMSG2 #define ORE_DBGMSG2 ORE_DBGMSG -struct page *_raid_page_alloc(void) +static struct page *_raid_page_alloc(void) { return alloc_page(GFP_KERNEL); } -void _raid_page_free(struct page *p) +static void _raid_page_free(struct page *p) { __free_page(p); }