From: Jérôme Pouiller Date: Thu, 13 Jan 2022 08:55:00 +0000 (+0100) Subject: staging: wfx: remove useless #ifdef X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1431555257928da7babfd0d6020d46b6cde30fd7;p=linux.git staging: wfx: remove useless #ifdef In the old days, this file was shared with other projects. Obviously, this "#ifdef __KERNEL__" have no reasons to be in the kernel. Signed-off-by: Jérôme Pouiller Link: https://lore.kernel.org/r/20220113085524.1110708-8-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wfx/hif_api_general.h b/drivers/staging/wfx/hif_api_general.h index 3e5c92e12d359..8244676112a5d 100644 --- a/drivers/staging/wfx/hif_api_general.h +++ b/drivers/staging/wfx/hif_api_general.h @@ -8,14 +8,8 @@ #ifndef WFX_HIF_API_GENERAL_H #define WFX_HIF_API_GENERAL_H -#ifdef __KERNEL__ #include #include -#else -#include -#include -#define __packed __attribute__((__packed__)) -#endif #define HIF_ID_IS_INDICATION 0x80 #define HIF_COUNTER_MAX 7