From: Xenia Ragiadakou Date: Wed, 26 Jun 2013 01:21:46 +0000 (+0300) Subject: staging: rtl8192u: remove unused macros r819xU_cmdpkt.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bdc7cb1994d5df7f14e42cd61b332e8eb12cac3e;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u/r819xU_cmdpkt.c index 8c56598b5eac..5bc361b16d4c 100644 --- a/drivers/staging/rtl8192u/r819xU_cmdpkt.c +++ b/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;