]> git.karo-electronics.de Git - linux-beck.git/commitdiff
jffs2: compr_rubin: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 11 Jan 2015 16:36:48 +0000 (17:36 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Jan 2015 04:40:03 +0000 (20:40 -0800)
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@spectrumdigital.se>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
fs/jffs2/compr_rubin.c

index 92e0644bf8673d91c091edf437e5a8e5e2941d64..556de100ebd5a5318fec58cc47c6187315ed2b7b 100644 (file)
@@ -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)
 {