]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
net: Remove bogus barrier() in dst_allfrag().
authorDavid S. Miller <davem@davemloft.net>
Tue, 8 Feb 2011 23:33:22 +0000 (15:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Feb 2011 23:33:22 +0000 (15:33 -0800)
I simply missed this one when modifying the other dst
metric interfaces earlier.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h

index e550195d4f867a9b00f5321ba2eb5bd19204475b..e01855de21e8efe905b27e62a11fa62fb10afefe 100644 (file)
@@ -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;
 }