summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ethernet.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-01-31 13:44:13 +0100
committerThomas Haller <thaller@redhat.com>2019-02-12 08:50:28 +0100
commita3370af3a8a965e41950c5022182730d79614df2 (patch)
tree78f971ab718bd6005f26ccefaf618c5faed5600f /src/devices/nm-device-ethernet.c
parent32a847a61f031813865199366318d047ca38c2f1 (diff)
downloadNetworkManager-a3370af3a8a965e41950c5022182730d79614df2.tar.gz
all: drop unnecessary includes of <errno.h> and <string.h>
"nm-macros-interal.h" already includes <errno.h> and <string.h>. No need to include it everywhere else too.
Diffstat (limited to 'src/devices/nm-device-ethernet.c')
-rw-r--r--src/devices/nm-device-ethernet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c
index 3b6fb35b32..f93ff1a483 100644
--- a/src/devices/nm-device-ethernet.c
+++ b/src/devices/nm-device-ethernet.c
@@ -24,10 +24,8 @@
#include "nm-device-ethernet.h"
#include <netinet/in.h>
-#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-#include <errno.h>
#include <libudev.h>
#include "nm-device-private.h"