staging: rtl8192u: remove unused macros r819xU_cmdpkt.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Wed, 26 Jun 2013 01:21:46 +0000 (04:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:47:28 +0000 (14:47 -0700)
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>
drivers/staging/rtl8192u/r819xU_cmdpkt.c

index 8c56598b5eac17864f634e1c67d646b36dfbe37a..5bc361b16d4ca05e924bd3a326824c852a67b8f0 100644 (file)
 #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;