jffs2: compr_rubin: Remove unused function
authorRickard Strandqvist <[email protected]>
Sun, 11 Jan 2015 16:36:48 +0000 (17:36 +0100)
committerBrian Norris <[email protected]>
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 <[email protected]>
Reviewed-by: Richard Weinberger <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
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)
 {