staging:r8188eu: remove (RGTRY|BSSID)_(OFT|SZ) macros
authorIvan Safonov <insafonov@gmail.com>
Fri, 30 Sep 2016 14:36:15 +0000 (21:36 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 15:31:15 +0000 (17:31 +0200)
These macros does not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/drv_types.h

index 5c275fb..c966c8e 100644 (file)
@@ -104,12 +104,6 @@ struct registry_priv {
        bool    monitor_enable;
 };
 
-/* For registry parameters */
-#define RGTRY_OFT(field) ((u32)offsetof(struct registry_priv, field))
-#define RGTRY_SZ(field)   sizeof(((struct registry_priv *)0)->field)
-#define BSSID_OFT(field) ((u32)offsetofT(struct wlan_bssid_ex, field))
-#define BSSID_SZ(field)   sizeof(((struct wlan_bssid_ex *)0)->field)
-
 #define MAX_CONTINUAL_URB_ERR          4
 
 struct dvobj_priv {