diff options
author | Alexander Block <ablock84@googlemail.com> | 2012-07-28 05:08:09 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:18:46 -0400 |
commit | 9ea3ef516d828e435d283b7d5f0de05fd72a23ac (patch) | |
tree | a793ec323128f331404d41f6f0b1c55e0f15037c | |
parent | b9291affaa4576762c30fb31083f33f5d745dea1 (diff) |
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>
-rw-r--r-- | fs/btrfs/send.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index bea5b4378cc5..9e3f6d127d82 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c | |||
@@ -327,6 +327,7 @@ out: | |||
327 | return ret; | 327 | return ret; |
328 | } | 328 | } |
329 | 329 | ||
330 | #if 0 | ||
330 | static void fs_path_remove(struct fs_path *p) | 331 | static void fs_path_remove(struct fs_path *p) |
331 | { | 332 | { |
332 | BUG_ON(p->reversed); | 333 | BUG_ON(p->reversed); |
@@ -334,6 +335,7 @@ static void fs_path_remove(struct fs_path *p) | |||
334 | p->end--; | 335 | p->end--; |
335 | *p->end = 0; | 336 | *p->end = 0; |
336 | } | 337 | } |
338 | #endif | ||
337 | 339 | ||
338 | static int fs_path_copy(struct fs_path *p, struct fs_path *from) | 340 | static int fs_path_copy(struct fs_path *p, struct fs_path *from) |
339 | { | 341 | { |