linux-stable/drivers/staging/rtl8723bs
Michael Straube 9bfb54a8c8 staging: rtl8723bs: remove header file ethernet.h
The header file ehternet.h defines only two constants.

#define ETHERNET_HEADER_SIZE   14          /*  Ethernet Header Length */
#define LLC_HEADER_SIZE         6          /*  LLC Header Length */

Both are only used in the file core/rtw_recv.c and ETHERNET_HEADER_SIZE
just duplicates the in-kernel constant ETH_HLEN. Replace the usage of
ETHERNET_HEADER_SIZE with ETH_HLEN, move the definition of LLC_HEADER_SIZE
into rtw_rev.h (renamed to LLC_HEADER_LENGTH) and remove the now unused
header file ethernet.h.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210825100842.13217-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-26 12:14:57 +02:00
..
core staging: rtl8723bs: remove header file ethernet.h 2021-08-26 12:14:57 +02:00
hal staging: rtl8723bs: fix tx power tables size 2021-08-10 12:13:03 +02:00
include staging: rtl8723bs: remove header file ethernet.h 2021-08-26 12:14:57 +02:00
os_dep staging: rtl8723bs: remove functions notifying wext events 2021-08-26 12:13:02 +02:00
Kconfig staging: rtl8723bs: remove obsolete wext support 2021-08-26 12:13:01 +02:00
Makefile staging: rtl8723bs: remove empty files 2021-08-10 12:12:19 +02:00
TODO staging: rtl8723bs: remove item from TODO list 2021-06-24 14:43:46 +02:00