public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/slhc.c: remove 2 functions
@ 2005-02-19  0:17 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-02-19  0:17 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-net, linux-kernel

This patch removes two unused global functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-19  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-19  0:17 [2.6 patch] drivers/net/slhc.c: remove 2 functions Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox