public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops.
@ 2008-02-08 11:24 Rami Rosen
  2008-02-08 11:36 ` Denis V. Lunev
  0 siblings, 1 reply; 4+ messages in thread
From: Rami Rosen @ 2008-02-08 11:24 UTC (permalink / raw)
  To: David Miller, den, netdev

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

Hi,
  This patches removes dst_net member (a pointer to struct net)
  of dst_ops (/include/net/dst.h).
	
  Current network namespace implementation does not use it at all.

Denis - any comments ?
	

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@gmail.com>

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 284 bytes --]

diff --git a/include/net/dst.h b/include/net/dst.h
index e3ac7d0..ad06622 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -102,7 +102,6 @@ struct dst_ops
 
 	atomic_t		entries;
 	struct kmem_cache 		*kmem_cachep;
-	struct net              *dst_net;
 };
 
 #ifdef __KERNEL__

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-08 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 11:24 [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops Rami Rosen
2008-02-08 11:36 ` Denis V. Lunev
2008-02-08 12:33   ` Daniel Lezcano
2008-02-08 12:45     ` David Miller

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