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:
Michael Straube
2021-08-24 14:36:21 +02:00
committed by Carlos Garces
parent a99eff7ea3
commit 2f0a5e695b
4 changed files with 6 additions and 41 deletions

View File

@@ -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>