diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-29 15:05:16 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-29 15:05:27 +0200 |
commit | 9661d2e80c54f3d781f84128d510f4a7c8bca482 (patch) | |
tree | 1bc5fac6d41502fa7ad2f4cfa60544c9b26d6e23 /src/libsystemd-network/test-ndisc-rs.c | |
parent | Merge pull request #21172 from poettering/fix-systemctl-cgroup-tree (diff) | |
download | systemd-9661d2e80c54f3d781f84128d510f4a7c8bca482.tar.xz systemd-9661d2e80c54f3d781f84128d510f4a7c8bca482.zip |
sd-ndisc: drop unused functions
All received information is stored in sd_ndisc_router, and we have
sd_ndisc_router_get_mtu() and sd_ndisc_router_get_hop_limit().
Diffstat (limited to 'src/libsystemd-network/test-ndisc-rs.c')
-rw-r--r-- | src/libsystemd-network/test-ndisc-rs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsystemd-network/test-ndisc-rs.c b/src/libsystemd-network/test-ndisc-rs.c index ae26ee7e74..1366b44115 100644 --- a/src/libsystemd-network/test-ndisc-rs.c +++ b/src/libsystemd-network/test-ndisc-rs.c @@ -242,7 +242,6 @@ static void test_callback(sd_ndisc *nd, sd_ndisc_event_t event, sd_ndisc_router ND_RA_FLAG_MANAGED }; uint64_t flags; - uint32_t mtu; assert_se(nd); @@ -263,8 +262,6 @@ static void test_callback(sd_ndisc *nd, sd_ndisc_event_t event, sd_ndisc_router return; } - assert_se(sd_ndisc_get_mtu(nd, &mtu) == -ENODATA); - sd_event_exit(e, 0); } |