Browse Source

staging: rtl8192u: remove unused macros r819xU_cmdpkt.c

This patch removes CMPK_DEBOUNCE_CNT and CMPK_PRINT()
because they are not used anywhere in the driver.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Xenia Ragiadakou 12 years ago
parent
commit
bdc7cb1994
1 changed files with 0 additions and 13 deletions
  1. 0 13
      drivers/staging/rtl8192u/r819xU_cmdpkt.c

+ 0 - 13
drivers/staging/rtl8192u/r819xU_cmdpkt.c

@@ -26,19 +26,6 @@
 #include "r8192U.h"
 #include "r819xU_cmdpkt.h"
 
-/* Debug constant */
-#define		CMPK_DEBOUNCE_CNT			1
-/* Add for printing a range of data. */
-#define		CMPK_PRINT(Address)\
-{\
-	unsigned char	i;\
-	u32	temp[10];\
-	\
-	memcpy(temp, Address, 40);\
-	for (i = 0; i < 40; i += 4)\
-		printk("\r\n %08x", temp[i]);\
-}\
-
 rt_status SendTxCommandPacket(struct net_device *dev, void *pData, u32 DataLen)
 {
 	rt_status	rtStatus = RT_STATUS_SUCCESS;