mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Signed-off-by: Boaz Harrosh <[email protected]>
This commit is contained in:
parent
af8d0cc0d2
commit
0961f02a37
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue