rt2x00: Remove data_desc structure
Coverty indicated that data_desc with a single element array is bad coding style. This removes the structure and forces everybody to use __le32. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2676c94d4e
commit
4bd7c452a4
@ -1082,8 +1082,8 @@
|
||||
/*
|
||||
* DMA descriptor defines.
|
||||
*/
|
||||
#define TXD_DESC_SIZE ( 11 * sizeof(struct data_desc) )
|
||||
#define RXD_DESC_SIZE ( 11 * sizeof(struct data_desc) )
|
||||
#define TXD_DESC_SIZE ( 11 * sizeof(__le32) )
|
||||
#define RXD_DESC_SIZE ( 11 * sizeof(__le32) )
|
||||
|
||||
/*
|
||||
* TX descriptor format for TX, PRIO, ATIM and Beacon Ring.
|
||||
|
Reference in New Issue
Block a user