From: Przemo Firszt Date: Mon, 10 Dec 2012 23:21:25 +0000 (+0000) Subject: rtl8712: remove unused definitions from ethernet.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7414e8252c115f7630e348cda64e4c4a5b69c511;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git rtl8712: remove unused definitions from ethernet.h Signed-off-by: Przemo Firszt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/ethernet.h b/drivers/staging/rtl8712/ethernet.h index 90954203776d..fad173f4097e 100644 --- a/drivers/staging/rtl8712/ethernet.h +++ b/drivers/staging/rtl8712/ethernet.h @@ -26,15 +26,8 @@ #ifndef __INC_ETHERNET_H #define __INC_ETHERNET_H -#define ETHERNET_ADDRESS_LENGTH 6 /*!< Ethernet Address Length*/ #define ETHERNET_HEADER_SIZE 14 /*!< Ethernet Header Length*/ #define LLC_HEADER_SIZE 6 /*!< LLC Header Length*/ -#define TYPE_LENGTH_FIELD_SIZE 2 /*!< Type/Length Size*/ -#define MINIMUM_ETHERNET_PACKET_SIZE 60 /*!< Min Ethernet Packet Size*/ -#define MAXIMUM_ETHERNET_PACKET_SIZE 1514 /*!< Max Ethernet Packet Size*/ - -/*!< Is Multicast Address? */ -#define RT_ETH_IS_MULTICAST(_pAddr) ((((u8 *)(_pAddr))[0]&0x01) != 0) #endif /* #ifndef __INC_ETHERNET_H */