[2.6 patch] drivers/net/slhc.c: remove 2 functions

From: Adrian Bunk
Date: Fri Feb 18 2005 - 19:24:25 EST


This patch removes two unused global functions.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

drivers/net/slhc.c | 27 ---------------------------
include/net/slhc_vj.h | 3 ---
2 files changed, 30 deletions(-)

--- linux-2.6.11-rc3-mm2-full/include/net/slhc_vj.h.old 2005-02-16 18:43:00.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/include/net/slhc_vj.h 2005-02-16 18:43:49.000000000 +0100
@@ -185,7 +185,4 @@
int isize));
int slhc_toss __ARGS((struct slcompress *comp));

-void slhc_i_status __ARGS((struct slcompress *comp));
-void slhc_o_status __ARGS((struct slcompress *comp));
-
#endif /* _SLHC_H */
--- linux-2.6.11-rc3-mm2-full/drivers/net/slhc.c.old 2005-02-16 18:43:15.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/slhc.c 2005-02-16 18:43:40.000000000 +0100
@@ -693,33 +693,6 @@
}


-void slhc_i_status(struct slcompress *comp)
-{
- if (comp != NULLSLCOMPR) {
- printk("\t%d Cmp, %d Uncmp, %d Bad, %d Tossed\n",
- comp->sls_i_compressed,
- comp->sls_i_uncompressed,
- comp->sls_i_error,
- comp->sls_i_tossed);
- }
-}
-
-
-void slhc_o_status(struct slcompress *comp)
-{
- if (comp != NULLSLCOMPR) {
- printk("\t%d Cmp, %d Uncmp, %d AsIs, %d NotTCP\n",
- comp->sls_o_compressed,
- comp->sls_o_uncompressed,
- comp->sls_o_tcp,
- comp->sls_o_nontcp);
- printk("\t%10d Searches, %10d Misses\n",
- comp->sls_o_searches,
- comp->sls_o_misses);
- }
-}
-
-/* Should this be surrounded with "#ifdef CONFIG_MODULES" ? */
/* VJ header compression */
EXPORT_SYMBOL(slhc_init);
EXPORT_SYMBOL(slhc_free);

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html