diff options
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r-- | src/resolve/resolved-link.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index e309b80728..1b175c8121 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; } |