mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
remove ethernet.h header file
There are only two definitions from ethernet.h used in the driver. Namely: Both are only used in the file core/rtw_recv.c. Replace the usage of ETHERNET_HEADER_SIZE with ETH_HLEN, move the definition of LLC_HEADER_SIZE into rtw_recv.h and remove the now unused ethernet.h header file. Link: https://lore.kernel.org/r/20210824123621.10801-4-straube.linux@gmail.com
This commit is contained in:
committed by
Carlos Garces
parent
a99eff7ea3
commit
2f0a5e695b
@@ -129,7 +129,6 @@ typedef struct _ADAPTER _adapter, ADAPTER, *PADAPTER;
|
||||
#include <rtw_iol.h>
|
||||
#endif /* CONFIG_IOL */
|
||||
|
||||
#include <ethernet.h>
|
||||
#include <circ_buf.h>
|
||||
|
||||
#include <rtw_android.h>
|
||||
|
||||
Reference in New Issue
Block a user