From: Mateusz Kulikowski Date: Tue, 14 Jul 2015 20:04:10 +0000 (+0200) Subject: staging: rtl8192e: Remove unused ether_header structure X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9b3fcf2bbf9374ade7f9dcac1c58c4af6fcc0694;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove unused ether_header structure Structure is not used in the driver. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index c44c8686e6bc..81a3b9348379 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1140,12 +1140,6 @@ enum {WMM_all_frame, WMM_two_frame, WMM_four_frame, WMM_six_frame}; #define ETHERNET_HEADER_SIZE 14 /* length of two Ethernet address * plus ether type*/ -struct ether_header { - u8 ether_dhost[ETHER_ADDR_LEN]; - u8 ether_shost[ETHER_ADDR_LEN]; - u16 ether_type; -} __packed; - enum erp_t { ERP_NonERPpresent = 0x01, ERP_UseProtection = 0x02,