diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index e309b80728d..1b175c8121a 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -91,10 +91,7 @@ int link_update_rtnl(Link *l, sd_rtnl_message *m) { if (r < 0) return r; - r = sd_rtnl_message_read_u32(m, IFLA_MTU, &l->mtu); - if (r < 0) - return r; - + sd_rtnl_message_read_u32(m, IFLA_MTU, &l->mtu); return 0; }