Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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@spectrumdigital.se>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

authored by

Rickard Strandqvist and committed by
Brian Norris
e4999bbe 6958024a

-5
-5
fs/jffs2/compr_rubin.c
··· 84 84 return bit; 85 85 } 86 86 87 - static inline int pulledbits(struct pushpull *pp) 88 - { 89 - return pp->ofs; 90 - } 91 - 92 87 93 88 static void init_rubin(struct rubin_state *rs, int div, int *bits) 94 89 {