mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
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 <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20220113085524.1110708-8-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
122cbf784e
commit
1431555257
@@ -8,14 +8,8 @@
|
||||
#ifndef WFX_HIF_API_GENERAL_H
|
||||
#define WFX_HIF_API_GENERAL_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/types.h>
|
||||
#include <linux/if_ether.h>
|
||||
#else
|
||||
#include <net/ethernet.h>
|
||||
#include <stdint.h>
|
||||
#define __packed __attribute__((__packed__))
|
||||
#endif
|
||||
|
||||
#define HIF_ID_IS_INDICATION 0x80
|
||||
#define HIF_COUNTER_MAX 7
|
||||
|
||||
Reference in New Issue
Block a user