Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1494148
| From | Ivan Safonov <insafonov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/8] staging:r8188eu: remove (RGTRY|BSSID)_(OFT|SZ) macros |
| Date | 2016-09-30 16:40 +0200 |
| Message-ID | <sn78K-2XU-25@gated-at.bofh.it> (permalink) |
| References | <sn78J-2XU-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
These macros does not used.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
drivers/staging/rtl8188eu/include/drv_types.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h
index 5c275fb..c966c8e 100644
--- a/drivers/staging/rtl8188eu/include/drv_types.h
+++ b/drivers/staging/rtl8188eu/include/drv_types.h
@@ -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 {
--
2.7.3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/8] staging:r8188eu: change rtl8188e_process_phy_info function argument type Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 4/8] staging:r8188eu: remove pkt_newalloc member of the recv_buf structure Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 3/8] staging:r8188eu: remove rtw_handle_dualmac declaration Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 2/8] staging:r8188eu: remove (RGTRY|BSSID)_(OFT|SZ) macros Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 5/8] staging:r8188eu: remove GEN_CMD_CODE macro Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 6/8] staging:r8188eu: remove GEN_EVT_CODE macro Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 8/8] staging:r8188eu: remove GEN_MLME_EXT_HANDLER macro Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200 [PATCH 7/8] staging:r8188eu: remove GEN_DRV_CMD_HANDLER macro Ivan Safonov <insafonov@gmail.com> - 2016-09-30 16:40 +0200
csiph-web