mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
Btrfs: remove unused code with #if 0
fs_path_remove is not used at the moment due to a previous patch. Remove it for now (with #if 0) to avoid compile warnings. Signed-off-by: Alexander Block <ablock84@googlemail.com>
This commit is contained in:
parent
b9291affaa
commit
9ea3ef516d
1 changed files with 2 additions and 0 deletions
|
@ -327,6 +327,7 @@ static int fs_path_add_from_extent_buffer(struct fs_path *p,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void fs_path_remove(struct fs_path *p)
|
static void fs_path_remove(struct fs_path *p)
|
||||||
{
|
{
|
||||||
BUG_ON(p->reversed);
|
BUG_ON(p->reversed);
|
||||||
|
@ -334,6 +335,7 @@ static void fs_path_remove(struct fs_path *p)
|
||||||
p->end--;
|
p->end--;
|
||||||
*p->end = 0;
|
*p->end = 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int fs_path_copy(struct fs_path *p, struct fs_path *from)
|
static int fs_path_copy(struct fs_path *p, struct fs_path *from)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue