]> err.no Git - linux-2.6/commitdiff
loss_interval: Make dccp_li_hist_entry_{new,delete} private
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 May 2007 21:25:12 +0000 (18:25 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:15:22 +0000 (22:15 -0700)
Not used outside the loss_interval code anymore.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
net/dccp/ccids/lib/loss_interval.c
net/dccp/ccids/lib/loss_interval.h

index 8ac68c60a1f1e1de253b26dfaf3770014177c979..28eac9be6634c300c6ac52712a58da54fcfe4eb7 100644 (file)
@@ -62,6 +62,20 @@ void dccp_li_hist_delete(struct dccp_li_hist *hist)
 
 EXPORT_SYMBOL_GPL(dccp_li_hist_delete);
 
+static inline struct dccp_li_hist_entry *
+               dccp_li_hist_entry_new(struct dccp_li_hist *hist,
+                                      const gfp_t prio)
+{
+       return kmem_cache_alloc(hist->dccplih_slab, prio);
+}
+
+static inline void dccp_li_hist_entry_delete(struct dccp_li_hist *hist,
+                                            struct dccp_li_hist_entry *entry)
+{
+       if (entry != NULL)
+               kmem_cache_free(hist->dccplih_slab, entry);
+}
+
 void dccp_li_hist_purge(struct dccp_li_hist *hist, struct list_head *list)
 {
        struct dccp_li_hist_entry *entry, *next;
index 653328d04ef00b369e0011f506e9553ce06e6b0a..8d3c9bfa49155b8389f8fd57c68320382bbcc6b5 100644 (file)
@@ -33,20 +33,6 @@ struct dccp_li_hist_entry {
        u32              dccplih_interval;
 };
 
-static inline struct dccp_li_hist_entry *
-               dccp_li_hist_entry_new(struct dccp_li_hist *hist,
-                                      const gfp_t prio)
-{
-       return kmem_cache_alloc(hist->dccplih_slab, prio);
-}
-
-static inline void dccp_li_hist_entry_delete(struct dccp_li_hist *hist,
-                                            struct dccp_li_hist_entry *entry)
-{
-       if (entry != NULL)
-               kmem_cache_free(hist->dccplih_slab, entry);
-}
-
 extern void dccp_li_hist_purge(struct dccp_li_hist *hist,
                               struct list_head *list);