netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-mm patch] make struct dccp_li_cachep static
       [not found] <20070628034321.38c9f12b.akpm@linux-foundation.org>
@ 2007-07-01 20:23 ` Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-07-01 20:23 UTC (permalink / raw)
  To: Andrew Morton, acme, davem; +Cc: linux-kernel, dccp, netdev

On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.22-rc4-mm2:
>...
>  git-net.patch
>...
>  git trees
>...


Struct dccp_li_cachep can become static.

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

---
--- linux-2.6.22-rc6-mm1/net/dccp/ccids/lib/loss_interval.c.old	2007-07-01 00:38:12.000000000 +0200
+++ linux-2.6.22-rc6-mm1/net/dccp/ccids/lib/loss_interval.c	2007-07-01 00:38:21.000000000 +0200
@@ -27,7 +27,7 @@
 	u32		 dccplih_interval;
 };
 
-struct kmem_cache *dccp_li_cachep __read_mostly;
+static struct kmem_cache *dccp_li_cachep __read_mostly;
 
 static inline struct dccp_li_hist_entry *dccp_li_hist_entry_new(const gfp_t prio)
 {


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

only message in thread, other threads:[~2007-07-01 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070628034321.38c9f12b.akpm@linux-foundation.org>
2007-07-01 20:23 ` [-mm patch] make struct dccp_li_cachep static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).