Skip to content

Commit

Permalink
befs: remove unused functions
Browse files Browse the repository at this point in the history
befs_iaddr_is_empty() and befs_brun_size() are unused. Remove them.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Luis de Bethencourt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
luisbg committed Oct 8, 2016
1 parent 10145d6 commit f0f2536
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions fs/befs/befs.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,6 @@ befs_iaddrs_per_block(struct super_block *sb)
return BEFS_SB(sb)->block_size / sizeof (befs_disk_inode_addr);
}

static inline int
befs_iaddr_is_empty(const befs_inode_addr *iaddr)
{
return (!iaddr->allocation_group) && (!iaddr->start) && (!iaddr->len);
}

static inline size_t
befs_brun_size(struct super_block *sb, befs_block_run run)
{
return BEFS_SB(sb)->block_size * run.len;
}

#include "endian.h"

#endif /* _LINUX_BEFS_H */

0 comments on commit f0f2536

Please sign in to comment.