]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-dhcp: drop unnecessary condition
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Jun 2018 04:51:34 +0000 (13:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Jun 2018 04:51:34 +0000 (13:51 +0900)
src/libsystemd-network/sd-dhcp6-client.c

index b3bc259280e6d73f789721898f5d424245b206c3..ff54d7e20c97043d4d6643613efae9f08e62ccf3 100644 (file)
@@ -1144,9 +1144,8 @@ static int client_receive_message(
                 return 0;
         }
 
-        if (r >= 0)
-                log_dhcp6_client(client, "Recv %s",
-                                 dhcp6_message_type_to_string(message->type));
+        log_dhcp6_client(client, "Recv %s",
+                         dhcp6_message_type_to_string(message->type));
 
         return 0;
 }