net: return operator cleanup
[deliverable/linux.git] / net / ipv6 / addrconf.c
index 5bc893e28008147b500ea1a6c0aedb7d1c262bbe..89aa54394a08aff72ca124651703b2ce689e694a 100644 (file)
@@ -243,7 +243,7 @@ static inline bool addrconf_qdisc_ok(const struct net_device *dev)
 /* Check if a route is valid prefix route */
 static inline int addrconf_is_prefix_route(const struct rt6_info *rt)
 {
-       return ((rt->rt6i_flags & (RTF_GATEWAY | RTF_DEFAULT)) == 0);
+       return (rt->rt6i_flags & (RTF_GATEWAY | RTF_DEFAULT)) == 0;
 }
 
 static void addrconf_del_timer(struct inet6_ifaddr *ifp)
This page took 0.024896 seconds and 5 git commands to generate.