summaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2015-01-11 17:36:48 +0100
committerBrian Norris <computersforpeace@gmail.com>2015-01-12 20:40:03 -0800
commite4999bbe0802ddff82b3fcbbab3b6274b789aad7 (patch)
treeae96639638fb4e0a22f4c8caadf37fe09e8df37a /fs/jffs2
parent6958024ad5cdd78deae4da47a8722b06317dff45 (diff)
downloadlinux-e4999bbe0802ddff82b3fcbbab3b6274b789aad7.tar.gz
linux-e4999bbe0802ddff82b3fcbbab3b6274b789aad7.tar.bz2
linux-e4999bbe0802ddff82b3fcbbab3b6274b789aad7.zip
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>
Diffstat (limited to 'fs/jffs2')
-rw-r--r--fs/jffs2/compr_rubin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/jffs2/compr_rubin.c b/fs/jffs2/compr_rubin.c
index 92e0644bf867..556de100ebd5 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)
{