mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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>
This commit is contained in:
parent
f70edb9f1c
commit
bdc7cb1994
1 changed files with 0 additions and 13 deletions
|
@ -26,19 +26,6 @@
|
||||||
#include "r8192U.h"
|
#include "r8192U.h"
|
||||||
#include "r819xU_cmdpkt.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 SendTxCommandPacket(struct net_device *dev, void *pData, u32 DataLen)
|
||||||
{
|
{
|
||||||
rt_status rtStatus = RT_STATUS_SUCCESS;
|
rt_status rtStatus = RT_STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue