From af536c85ee20838bb3ed6713a5add84a699c396b Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Fri, 25 Feb 2022 08:42:56 +0200 Subject: [PATCH] Remove useless include that break 5.16 Kernel 5.16 removed inclusion of gcc includes[1]. Booleans are included from other places anyway and the include can be safely removed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04e85bbf71c9072dcf0ad9a7150495d72461105c Signed-off-by: Tzafrir Cohen --- drivers/dahdi/dahdi-base.c | 2 -- drivers/dahdi/voicebus/vpmoct.h | 2 -- drivers/dahdi/wcaxx-base.c | 2 -- drivers/dahdi/wct4xxp/base.c | 1 - drivers/dahdi/wct4xxp/vpm450m.c | 1 - drivers/dahdi/wctc4xxp/base.c | 2 -- drivers/dahdi/wctdm24xxp/base.c | 2 -- drivers/dahdi/wcte13xp-base.c | 1 - drivers/dahdi/wcte43x-base.c | 1 - drivers/dahdi/wcxb.c | 2 -- drivers/dahdi/wcxb_spi.h | 1 - 11 files changed, 17 deletions(-) diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index bb51e9c..812efc5 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -82,8 +82,6 @@ #include "hpec/hpec_user.h" -#include - #if defined(EMPULSE) && defined(EMFLASH) #error "You cannot define both EMPULSE and EMFLASH" #endif diff --git a/drivers/dahdi/voicebus/vpmoct.h b/drivers/dahdi/voicebus/vpmoct.h index cb55826..b4ca658 100644 --- a/drivers/dahdi/voicebus/vpmoct.h +++ b/drivers/dahdi/voicebus/vpmoct.h @@ -30,8 +30,6 @@ #include #include "dahdi/kernel.h" -#include - #define VPMOCT_FIRM_HEADER_LEN 32 #define VPMOCT_BOOT_RAM_LEN 128 #define VPMOCT_FLASH_BUF_SECTIONS 4 diff --git a/drivers/dahdi/wcaxx-base.c b/drivers/dahdi/wcaxx-base.c index 04b23a9..663a45e 100644 --- a/drivers/dahdi/wcaxx-base.c +++ b/drivers/dahdi/wcaxx-base.c @@ -34,8 +34,6 @@ #include #include -#include - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30) /* Define this if you would like to load the modules in parallel. While this diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c index ad35569..87710a7 100644 --- a/drivers/dahdi/wct4xxp/base.c +++ b/drivers/dahdi/wct4xxp/base.c @@ -42,7 +42,6 @@ #include #include -#include #include #include "wct4xxp.h" diff --git a/drivers/dahdi/wct4xxp/vpm450m.c b/drivers/dahdi/wct4xxp/vpm450m.c index 82a0463..38c68ab 100644 --- a/drivers/dahdi/wct4xxp/vpm450m.c +++ b/drivers/dahdi/wct4xxp/vpm450m.c @@ -28,7 +28,6 @@ #include #include -#include #include "vpm450m.h" #include diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c index 3bd56d1..fbfbd0a 100644 --- a/drivers/dahdi/wctc4xxp/base.c +++ b/drivers/dahdi/wctc4xxp/base.c @@ -39,8 +39,6 @@ #include #include -#include - #include #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index f106a19..b75ce4e 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -54,8 +54,6 @@ Tx Gain - W/Pre-Emphasis: -23.99 to 0.00 db #include #include -#include - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30) /* Define this if you would like to load the modules in parallel. While this * can speed up loads when multiple cards handled by this driver are installed, diff --git a/drivers/dahdi/wcte13xp-base.c b/drivers/dahdi/wcte13xp-base.c index 9adc4d4..36e3ec3 100644 --- a/drivers/dahdi/wcte13xp-base.c +++ b/drivers/dahdi/wcte13xp-base.c @@ -35,7 +35,6 @@ #include #include -#include #include #include "wct4xxp/wct4xxp.h" /* For certain definitions */ diff --git a/drivers/dahdi/wcte43x-base.c b/drivers/dahdi/wcte43x-base.c index 45b0f6c..d164a69 100644 --- a/drivers/dahdi/wcte43x-base.c +++ b/drivers/dahdi/wcte43x-base.c @@ -43,7 +43,6 @@ #include #include -#include #include #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) diff --git a/drivers/dahdi/wcxb.c b/drivers/dahdi/wcxb.c index 122f9d3..d6318e2 100644 --- a/drivers/dahdi/wcxb.c +++ b/drivers/dahdi/wcxb.c @@ -36,8 +36,6 @@ #include -#include - #include "wcxb.h" #include "wcxb_spi.h" #include "wcxb_flash.h" diff --git a/drivers/dahdi/wcxb_spi.h b/drivers/dahdi/wcxb_spi.h index 418cd77..4575f14 100644 --- a/drivers/dahdi/wcxb_spi.h +++ b/drivers/dahdi/wcxb_spi.h @@ -24,7 +24,6 @@ #define __WCXB_SPI_H #include -#include struct wcxb_spi_transfer { const void *tx_buf; -- 2.30.2