From: David S. Miller <davem@davemloft.net>
Date: Tue, 8 Feb 2011 23:33:22 +0000 (-0800)
Subject: net: Remove bogus barrier() in dst_allfrag().
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7b66bdc02592f5573ade667e4d68ac6e7b0f9e1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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

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

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

diff --git a/include/net/dst.h b/include/net/dst.h
index e550195d4f86..e01855de21e8 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;
 }