lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 13 Jan 2022 09:55:00 +0100
From:   Jerome Pouiller <>
        Greg Kroah-Hartman <>,
        Kalle Valo <>,
        "David S . Miller" <>,
        Jérôme Pouiller 
Subject: [PATCH 07/31] staging: wfx: remove useless #ifdef

From: Jérôme Pouiller <>

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 <>
 drivers/staging/wfx/hif_api_general.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/wfx/hif_api_general.h b/drivers/staging/wfx/hif_api_general.h
index 3e5c92e12d35..8244676112a5 100644
--- a/drivers/staging/wfx/hif_api_general.h
+++ b/drivers/staging/wfx/hif_api_general.h
@@ -8,14 +8,8 @@
-#ifdef __KERNEL__
 #include <linux/types.h>
 #include <linux/if_ether.h>
-#include <net/ethernet.h>
-#include <stdint.h>
-#define __packed __attribute__((__packed__))
 #define HIF_ID_IS_INDICATION      0x80
 #define HIF_COUNTER_MAX           7

Powered by blists - more mailing lists