reiserfsprogs: remove dead code
gcc with -Wall was complaining about defined but unused code. I've removed the functions/variables that weren't used. Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
fe448aeac4
commit
c3084a6d48
5 files changed
-107
No files matched your search
@@ -24,18 +24,6 @@ struct buffer_head *make_buffer(int dev, unsigned long blocknr, int size,
|
||||
return bh;
|
||||
}
|
||||
|
||||
static int find_not_of_one_file(struct reiserfs_key *to_find,
|
||||
struct reiserfs_key *key)
|
||||
{
|
||||
if ((get_key_objectid(to_find) != ~(__u32) 0) &&
|
||||
(get_key_objectid(to_find) != get_key_objectid(key)))
|
||||
return 1;
|
||||
if ((get_key_dirid(to_find) != ~(__u32) 0) &&
|
||||
(get_key_dirid(to_find) != get_key_dirid(key)))
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int is_item_reachable(struct item_head *ih)
|
||||
{
|
||||
return ih_reachable(ih) ? 1 : 0;
|
||||
|
||||
Reference in new issue
Block a user