Commit d184f4a0 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Greg Kroah-Hartman

staging: ath6kl: remove-typedef BUFFER_PROC_LIST

remove-typedef -s BUFFER_PROC_LIST \
	"struct buffer_proc_list" drivers/staging/ath6kl/

Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 090f807a
...@@ -1017,10 +1017,10 @@ static u32 g_BlockSizes[AR6K_MAILBOXES]; ...@@ -1017,10 +1017,10 @@ static u32 g_BlockSizes[AR6K_MAILBOXES];
#define BUFFER_PROC_LIST_DEPTH 4 #define BUFFER_PROC_LIST_DEPTH 4
typedef struct _BUFFER_PROC_LIST{ struct buffer_proc_list {
u8 *pBuffer; u8 *pBuffer;
u32 length; u32 length;
}BUFFER_PROC_LIST; };
#define PUSH_BUFF_PROC_ENTRY(pList,len,pCurrpos) \ #define PUSH_BUFF_PROC_ENTRY(pList,len,pCurrpos) \
...@@ -1032,7 +1032,7 @@ typedef struct _BUFFER_PROC_LIST{ ...@@ -1032,7 +1032,7 @@ typedef struct _BUFFER_PROC_LIST{
} }
/* a simple and crude way to send different "message" sizes */ /* a simple and crude way to send different "message" sizes */
static void AssembleBufferList(BUFFER_PROC_LIST *pList) static void AssembleBufferList(struct buffer_proc_list *pList)
{ {
u8 *pBuffer = g_Buffer; u8 *pBuffer = g_Buffer;
...@@ -1095,7 +1095,7 @@ static bool CheckBuffers(void) ...@@ -1095,7 +1095,7 @@ static bool CheckBuffers(void)
{ {
int i; int i;
bool success = true; bool success = true;
BUFFER_PROC_LIST checkList[BUFFER_PROC_LIST_DEPTH]; struct buffer_proc_list checkList[BUFFER_PROC_LIST_DEPTH];
/* assemble the list */ /* assemble the list */
AssembleBufferList(checkList); AssembleBufferList(checkList);
...@@ -1117,7 +1117,7 @@ static bool CheckBuffers(void) ...@@ -1117,7 +1117,7 @@ static bool CheckBuffers(void)
static u16 GetEndMarker(void) static u16 GetEndMarker(void)
{ {
u8 *pBuffer; u8 *pBuffer;
BUFFER_PROC_LIST checkList[BUFFER_PROC_LIST_DEPTH]; struct buffer_proc_list checkList[BUFFER_PROC_LIST_DEPTH];
/* fill up buffers with the normal counting pattern */ /* fill up buffers with the normal counting pattern */
InitBuffers(FILL_COUNTING); InitBuffers(FILL_COUNTING);
...@@ -1138,7 +1138,7 @@ static int SendBuffers(struct ar6k_device *pDev, int mbox) ...@@ -1138,7 +1138,7 @@ static int SendBuffers(struct ar6k_device *pDev, int mbox)
{ {
int status = 0; int status = 0;
u32 request = HIF_WR_SYNC_BLOCK_INC; u32 request = HIF_WR_SYNC_BLOCK_INC;
BUFFER_PROC_LIST sendList[BUFFER_PROC_LIST_DEPTH]; struct buffer_proc_list sendList[BUFFER_PROC_LIST_DEPTH];
int i; int i;
int totalBytes = 0; int totalBytes = 0;
int paddedLength; int paddedLength;
...@@ -1229,7 +1229,7 @@ static int RecvBuffers(struct ar6k_device *pDev, int mbox) ...@@ -1229,7 +1229,7 @@ static int RecvBuffers(struct ar6k_device *pDev, int mbox)
{ {
int status = 0; int status = 0;
u32 request = HIF_RD_SYNC_BLOCK_INC; u32 request = HIF_RD_SYNC_BLOCK_INC;
BUFFER_PROC_LIST recvList[BUFFER_PROC_LIST_DEPTH]; struct buffer_proc_list recvList[BUFFER_PROC_LIST_DEPTH];
int curBuffer; int curBuffer;
int credits; int credits;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment