]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: drop unused element
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Oct 2020 15:55:15 +0000 (00:55 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 6 Oct 2020 17:36:29 +0000 (02:36 +0900)
src/network/networkd-routing-policy-rule.c
src/network/networkd-routing-policy-rule.h

index 9dbced6c0c129c02cf790cf87f74bc8f7d74e5af..d2a8768a42117ee4c965270b6c2abc905a45aa49 100644 (file)
@@ -568,8 +568,6 @@ static int routing_policy_rule_configure_internal(RoutingPolicyRule *rule, int f
                         return log_link_error_errno(link, r, "Could not append FRA_SUPPRESS_PREFIXLEN attribute: %m");
         }
 
-        rule->link = link;
-
         r = netlink_call_async(link->manager->rtnl, NULL, m,
                                routing_policy_rule_handler,
                                link_netlink_destroy_callback, link);
index 9b4f979f7b1422f7cf003f3b7d7302d58b1f6b29..ac5cbbed0e9881d2c6dccb53cf2343a6d4f47fba 100644 (file)
@@ -18,7 +18,6 @@ typedef struct Manager Manager;
 typedef struct RoutingPolicyRule {
         Manager *manager;
         Network *network;
-        Link *link;
         NetworkConfigSection *section;
 
         bool invert_rule;