All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: rtl8188eu: remove redundant definition of ETH_ALEN
@ 2019-06-02 16:35 Michael Straube
  2019-06-02 16:35 ` [PATCH 2/2] staging: rtl8188eu: remove unused definitions from ieee80211.h Michael Straube
  2019-06-02 20:07 ` [PATCH 1/2] staging: rtl8188eu: remove redundant definition of ETH_ALEN Joe Perches
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Straube @ 2019-06-02 16:35 UTC (permalink / raw)
  To: gregkh; +Cc: Larry.Finger, devel, linux-kernel, Michael Straube

ETH_ALEN is defined in linux/if_ether.h which is included by
osdep_service.h, so remove the redundant definition from ieee80211.h.

osdep_service.h:33:#include <linux/etherdevice.h>
etherdevice.h:25:#include <linux/if_ether.h>

Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
 drivers/staging/rtl8188eu/include/ieee80211.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h b/drivers/staging/rtl8188eu/include/ieee80211.h
index c60b833ca110..d43aa4304ca5 100644
--- a/drivers/staging/rtl8188eu/include/ieee80211.h
+++ b/drivers/staging/rtl8188eu/include/ieee80211.h
@@ -14,7 +14,6 @@
 
 #define MGMT_QUEUE_NUM 5
 
-#define ETH_ALEN	6
 #define ETH_TYPE_LEN		2
 #define PAYLOAD_TYPE_LEN	1
 
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-03  6:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 16:35 [PATCH 1/2] staging: rtl8188eu: remove redundant definition of ETH_ALEN Michael Straube
2019-06-02 16:35 ` [PATCH 2/2] staging: rtl8188eu: remove unused definitions from ieee80211.h Michael Straube
2019-06-02 20:07 ` [PATCH 1/2] staging: rtl8188eu: remove redundant definition of ETH_ALEN Joe Perches
2019-06-03  6:10   ` Michael Straube

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.