Patchwork net: Remove bogus barrier() in dst_allfrag().

login
register
mail settings
Submitter David Miller
Date Feb. 8, 2011, 11:34 p.m.
Message ID <20110208.153416.179933668.davem@davemloft.net>
Download mbox | patch
Permalink /patch/82413/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - Feb. 8, 2011, 11:34 p.m.
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(-)

Patch

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;
 }