mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/7] staging:r8188eu: remove unused (GET|PUT)U32 macros
@ 2017-01-12  9:16 Ivan Safonov
  2017-01-12  9:16 ` [PATCH 2/7] staging:r8188eu: remove unused WPA_(GET|PUT)_(BE|LE)_xx macro Ivan Safonov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ivan Safonov @ 2017-01-12  9:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Kyle Kuffermann, Luca Ceresoli, Victor Carvajal, Elise Lennion,
	devel, linux-kernel, Ivan Safonov

(GET|PUT)U32 macros are unused, remove it.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
 drivers/staging/rtl8188eu/include/rtw_security.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h b/drivers/staging/rtl8188eu/include/rtw_security.h
index 2663e60..22f9c43 100644
--- a/drivers/staging/rtl8188eu/include/rtw_security.h
+++ b/drivers/staging/rtl8188eu/include/rtw_security.h
@@ -255,13 +255,6 @@ static inline u32 rotr(u32 val, int bits)
 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16)
 #define TE3(i) rotr(Te0[(i) & 0xff], 24)
 
-#define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ \
-			((u32)(pt)[2] <<  8) ^ ((u32)(pt)[3]))
-
-#define PUTU32(ct, st) { \
-(ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); \
-(ct)[2] = (u8)((st) >>  8); (ct)[3] = (u8)(st); }
-
 #define WPA_GET_BE32(a) ((((u32)(a)[0]) << 24) | (((u32)(a)[1]) << 16) | \
 			 (((u32)(a)[2]) << 8) | ((u32)(a)[3]))
 
-- 
2.10.2

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

end of thread, other threads:[~2017-01-12  9:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12  9:16 [PATCH 1/7] staging:r8188eu: remove unused (GET|PUT)U32 macros Ivan Safonov
2017-01-12  9:16 ` [PATCH 2/7] staging:r8188eu: remove unused WPA_(GET|PUT)_(BE|LE)_xx macro Ivan Safonov
2017-01-12  9:16 ` [PATCH 3/7] staging:r8188eu: remove unused EOR macro Ivan Safonov
2017-01-12  9:16 ` [PATCH 4/7] staging:r8188eu: remove unused get_rxmem() Ivan Safonov
2017-01-12  9:16 ` [PATCH 5/7] staging:r8188eu: remove unused struct wifidirect_info and all corresponding code Ivan Safonov
2017-01-12  9:16 ` [PATCH 6/7] staging:r8188eu: remove unnecessary trace output in rtw_recv_indicatepkt() Ivan Safonov
2017-01-12  9:16 ` [PATCH 7/7] staging:r8188eu: remove unused rx_head member of struct recv_frame Ivan Safonov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®