From 2eec67acbb00593e414549a7e5b35eb7dd776b1b Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sat, 14 Feb 2015 09:44:31 +0100 Subject: remove unused includes This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use. --- src/libsystemd/sd-rtnl/local-addresses.h | 4 ---- src/libsystemd/sd-rtnl/rtnl-message.c | 1 - src/libsystemd/sd-rtnl/rtnl-types.c | 2 -- src/libsystemd/sd-rtnl/rtnl-util.c | 1 - src/libsystemd/sd-rtnl/rtnl-util.h | 1 - src/libsystemd/sd-rtnl/test-rtnl.c | 1 - 6 files changed, 10 deletions(-) (limited to 'src/libsystemd/sd-rtnl') diff --git a/src/libsystemd/sd-rtnl/local-addresses.h b/src/libsystemd/sd-rtnl/local-addresses.h index ef7def530d..bdc28d3510 100644 --- a/src/libsystemd/sd-rtnl/local-addresses.h +++ b/src/libsystemd/sd-rtnl/local-addresses.h @@ -21,10 +21,6 @@ along with systemd; If not, see . ***/ -#include -#include -#include -#include #include "sd-rtnl.h" #include "in-addr-util.h" diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 276591f31b..8f7d50abbb 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -20,7 +20,6 @@ ***/ #include -#include #include #include diff --git a/src/libsystemd/sd-rtnl/rtnl-types.c b/src/libsystemd/sd-rtnl/rtnl-types.c index a4c71f3785..3f4ba2e0f0 100644 --- a/src/libsystemd/sd-rtnl/rtnl-types.c +++ b/src/libsystemd/sd-rtnl/rtnl-types.c @@ -19,12 +19,10 @@ along with systemd; If not, see . ***/ -#include #include #include #include #include -#include #include #include #include diff --git a/src/libsystemd/sd-rtnl/rtnl-util.c b/src/libsystemd/sd-rtnl/rtnl-util.c index 5666ea44cb..9ddf074c24 100644 --- a/src/libsystemd/sd-rtnl/rtnl-util.c +++ b/src/libsystemd/sd-rtnl/rtnl-util.c @@ -19,7 +19,6 @@ along with systemd; If not, see . ***/ -#include #include "sd-rtnl.h" diff --git a/src/libsystemd/sd-rtnl/rtnl-util.h b/src/libsystemd/sd-rtnl/rtnl-util.h index ca9fbd4f41..9e4bdb867e 100644 --- a/src/libsystemd/sd-rtnl/rtnl-util.h +++ b/src/libsystemd/sd-rtnl/rtnl-util.h @@ -21,7 +21,6 @@ along with systemd; If not, see . ***/ -#include #include "util.h" #include "sd-rtnl.h" diff --git a/src/libsystemd/sd-rtnl/test-rtnl.c b/src/libsystemd/sd-rtnl/test-rtnl.c index 02f7a8e38a..47cce64816 100644 --- a/src/libsystemd/sd-rtnl/test-rtnl.c +++ b/src/libsystemd/sd-rtnl/test-rtnl.c @@ -29,7 +29,6 @@ #include "rtnl-util.h" #include "event-util.h" #include "missing.h" -#include "rtnl-internal.h" static void test_message_link_bridge(sd_rtnl *rtnl) { _cleanup_rtnl_message_unref_ sd_rtnl_message *message = NULL; -- cgit v1.2.3-54-g00ecf