diff options
author | David Sterba <dsterba@suse.cz> | 2011-05-05 06:44:41 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-06 06:34:03 -0400 |
commit | f2a97a9dbd86eb1ef956bdf20e05c507b32beb96 (patch) | |
tree | 756c2db8fee9c02df0e3217ea208a82b5f1d5e78 /fs/btrfs/relocation.c | |
parent | 621496f4fd56195b7b273521f467c2945165481f (diff) |
btrfs: remove all unused functions
Remove static and global declarations and/or definitions. Reduces size
of btrfs.ko by ~3.4kB.
text data bss dec hex filename
402081 7464 200 409745 64091 btrfs.ko.base
398620 7144 200 405964 631cc btrfs.ko.remove-all
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index f7b799b151aa..f726e72dd362 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c | |||
@@ -507,6 +507,7 @@ static int update_backref_cache(struct btrfs_trans_handle *trans, | |||
507 | return 1; | 507 | return 1; |
508 | } | 508 | } |
509 | 509 | ||
510 | |||
510 | static int should_ignore_root(struct btrfs_root *root) | 511 | static int should_ignore_root(struct btrfs_root *root) |
511 | { | 512 | { |
512 | struct btrfs_root *reloc_root; | 513 | struct btrfs_root *reloc_root; |
@@ -529,7 +530,6 @@ static int should_ignore_root(struct btrfs_root *root) | |||
529 | */ | 530 | */ |
530 | return 1; | 531 | return 1; |
531 | } | 532 | } |
532 | |||
533 | /* | 533 | /* |
534 | * find reloc tree by address of tree root | 534 | * find reloc tree by address of tree root |
535 | */ | 535 | */ |