From 3492e78b33c8ef96ec4b4e6e2766cd700fd205e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Tue, 21 Dec 2021 18:10:27 +0100 Subject: [PATCH 1/1] pppoe-discovery: Remove duplicate and unused includes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some of specified include header files in pppoe-discovery.c are duplicate and some of them are unused. Remove all these include lines which are not needed. Signed-off-by: Pali Rohár --- pppd/plugins/pppoe/pppoe-discovery.c | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/pppd/plugins/pppoe/pppoe-discovery.c b/pppd/plugins/pppoe/pppoe-discovery.c index e93d781..10f51dc 100644 --- a/pppd/plugins/pppoe/pppoe-discovery.c +++ b/pppd/plugins/pppoe/pppoe-discovery.c @@ -24,32 +24,6 @@ #include "pppoe.h" -#ifdef HAVE_UNISTD_H -#include -#endif - -#ifdef HAVE_NETPACKET_PACKET_H -#include -#elif defined(HAVE_LINUX_IF_PACKET_H) -#include -#endif - -#ifdef HAVE_ASM_TYPES_H -#include -#endif - -#ifdef HAVE_SYS_IOCTL_H -#include -#endif - -#include -#include -#include - -#ifdef HAVE_NET_IF_ARP_H -#include -#endif - int debug; int got_sigterm; int pppoe_verbose; -- 2.39.2