jffs2: compr_rubin: Remove unused function
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Feb 16 18:59:03 PST 2015
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e4999bbe0802ddff82b3fcbbab3b6274b789aad7
Commit: e4999bbe0802ddff82b3fcbbab3b6274b789aad7
Parent: 6958024ad5cdd78deae4da47a8722b06317dff45
Author: Rickard Strandqvist <rickard_strandqvist at spectrumdigital.se>
AuthorDate: Sun Jan 11 17:36:48 2015 +0100
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Jan 12 20:40:03 2015 -0800
jffs2: compr_rubin: Remove unused function
Remove the function pulledbits() that is not used anywhere.
This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist at spectrumdigital.se>
Reviewed-by: Richard Weinberger <richard at nod.at>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
fs/jffs2/compr_rubin.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/fs/jffs2/compr_rubin.c b/fs/jffs2/compr_rubin.c
index 92e0644b..556de10 100644
--- a/fs/jffs2/compr_rubin.c
+++ b/fs/jffs2/compr_rubin.c
@@ -84,11 +84,6 @@ static inline int pullbit(struct pushpull *pp)
return bit;
}
-static inline int pulledbits(struct pushpull *pp)
-{
- return pp->ofs;
-}
-
static void init_rubin(struct rubin_state *rs, int div, int *bits)
{
More information about the linux-mtd-cvs
mailing list