projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10145d6
)
befs: remove unused functions
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 23 Jul 2016 12:36:42 +0000
(22:36 +1000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:12 +0000
(10:01 +0100)
befs_iaddr_is_empty() and befs_brun_size() are unused. Remove them.
Link:
http://lkml.kernel.org/r/1465700235-22881-3-git-send-email-luisbg@osg.samsung.com
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/befs/befs.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/befs/befs.h
b/fs/befs/befs.h
index e0f59263a96d5944c1a5315e17bf9ee872309b9f..c5c6cd13709caff8ad8c9b753a3d30dfd98598ea 100644
(file)
--- a/
fs/befs/befs.h
+++ b/
fs/befs/befs.h
@@
-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 */