Explorar o código

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>
Alexander Block %!s(int64=13) %!d(string=hai) anos
pai
achega
9ea3ef516d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      fs/btrfs/send.c

+ 2 - 0
fs/btrfs/send.c

@@ -327,6 +327,7 @@ out:
 	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)
 {