netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: Remove bogus barrier() in dst_allfrag().
@ 2011-02-08 23:34 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-02-08 23:34 UTC (permalink / raw)
  To: netdev


I simply missed this one when modifying the other dst
metric interfaces earlier.

Signed-off-by: David S. Miller <davem@davemloft.net>
---

Committed to net-next-2.6

 include/net/dst.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/net/dst.h b/include/net/dst.h
index e550195..e01855d 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -220,8 +220,6 @@ static inline u32
 dst_allfrag(const struct dst_entry *dst)
 {
 	int ret = dst_feature(dst,  RTAX_FEATURE_ALLFRAG);
-	/* Yes, _exactly_. This is paranoia. */
-	barrier();
 	return ret;
 }
 
-- 
1.7.4


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

only message in thread, other threads:[~2011-02-08 23:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 23:34 [PATCH] net: Remove bogus barrier() in dst_allfrag() David Miller

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