From: "Rami Rosen" <ramirose@gmail.com>
To: "David Miller" <davem@davemloft.net>,
den@openvz.org, netdev@vger.kernel.org
Subject: [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops.
Date: Fri, 8 Feb 2008 13:24:30 +0200 [thread overview]
Message-ID: <eb3ff54b0802080324i4c7df923y3476faa34392279a@mail.gmail.com> (raw)
[-- 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__
next reply other threads:[~2008-02-08 11:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 11:24 Rami Rosen [this message]
2008-02-08 11:36 ` [PATCH] [NETNS] Remove unused member (dst_net) of dst_ops Denis V. Lunev
2008-02-08 12:33 ` Daniel Lezcano
2008-02-08 12:45 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eb3ff54b0802080324i4c7df923y3476faa34392279a@mail.gmail.com \
--to=ramirose@gmail.com \
--cc=davem@davemloft.net \
--cc=den@openvz.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox