]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/net/route.h
net-next: remove useless union keyword
[linux-2.6.git] / include / net / route.h
index af6cf4b4c9dc53aef5d8d1a21abb2cf71a29045a..bd732d62e1c3a3181c7c324d695b02e1548970e0 100644 (file)
@@ -50,9 +50,7 @@
 struct fib_nh;
 struct inet_peer;
 struct rtable {
-       union {
-               struct dst_entry        dst;
-       } u;
+       struct dst_entry        dst;
 
        /* Cache lookup keys */
        struct flowi            fl;
@@ -144,7 +142,7 @@ extern void fib_add_ifaddr(struct in_ifaddr *);
 static inline void ip_rt_put(struct rtable * rt)
 {
        if (rt)
-               dst_release(&rt->u.dst);
+               dst_release(&rt->dst);
 }
 
 #define IPTOS_RT_MASK  (IPTOS_TOS_MASK & ~3)