From 989ca65a11c4c537127207eaa019ac4149599017 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 6 Aug 2013 20:03:33 -0500 Subject: btrfs-progs: mark static & remove unused from shared kernel code In files copied from the kernel, mark many functions as static, and remove any resulting dead code. Some functions are left unmarked if they aren't static in the kernel tree. Signed-off-by: Eric Sandeen Signed-off-by: Chris Mason --- qgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qgroup.c') diff --git a/qgroup.c b/qgroup.c index dafde12b..038c4dca 100644 --- a/qgroup.c +++ b/qgroup.c @@ -54,8 +54,8 @@ int qgroup_inherit_size(struct btrfs_qgroup_inherit *p) 2 * p->num_excl_copies); } -int qgroup_inherit_realloc(struct btrfs_qgroup_inherit **inherit, int n, - int pos) +static int +qgroup_inherit_realloc(struct btrfs_qgroup_inherit **inherit, int n, int pos) { struct btrfs_qgroup_inherit *out; int nitems = 0; -- cgit v1.2.3