[PATCH 14/29] jffs2: compr_rubin: Remove unused function
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jul 5 07:49:34 UTC 2018
From: Rickard Strandqvist <rickard_strandqvist at spectrumdigital.se>
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>
0 5 cpukit/libfs/src/jffs2/src/compr_rubin.c
diff --git a/cpukit/libfs/src/jffs2/src/compr_rubin.c b/cpukit/libfs/src/jffs2/src/compr_rubin.c
index 424891cab4..91a1f354f5 100644
--- a/cpukit/libfs/src/jffs2/src/compr_rubin.c
+++ b/cpukit/libfs/src/jffs2/src/compr_rubin.c
@@ -86,11 +86,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)
{
--
2.13.7
More information about the devel
mailing list