提交 9ea3ef51 编写于 作者: A Alexander Block 提交者: Chris Mason

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: NAlexander Block <ablock84@googlemail.com>
上级 b9291aff
......@@ -327,6 +327,7 @@ static int fs_path_add_from_extent_buffer(struct fs_path *p,
return ret;
}
#if 0
static void fs_path_remove(struct fs_path *p)
{
BUG_ON(p->reversed);
......@@ -334,6 +335,7 @@ static void fs_path_remove(struct fs_path *p)
p->end--;
*p->end = 0;
}
#endif
static int fs_path_copy(struct fs_path *p, struct fs_path *from)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册