Skip to contentSkip to conversation

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

PATCH New David Miller 1 participant 1 message Feb 8, 2011

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/1 net: Remove bogus barrier() in dst_allfrag().

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

---

Committed to net-next-2.6

 include/net/dst.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
include/net/dst.h +0 -2
index e550195..e01855d 100644
@@ -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;
 }
 
Signature · 1 line
1.7.4