Staging: et131x: kill off the FBR_NUM_DES type
authorAlan Cox <alan@linux.intel.com>
Mon, 18 Jan 2010 15:32:39 +0000 (15:32 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:49 +0000 (16:42 -0800)
This is another 10 bit value with the high bits clear, and where the
type doesn't get used anywhere properly anyway

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_address_map.h

index e715e4dcb5236d624c1b00e3601d4be43feb0dc2..fcd968132263b0723042a17b062c1e46820d11f4 100644 (file)
@@ -451,18 +451,6 @@ typedef union _RXDMA_CSR_t {
  * 31-10: unused
  * 9-0: fbr ndesc
  */
-typedef union _RXDMA_FBR_NUM_DES_t {
-       u32 value;
-       struct {
-#ifdef _BIT_FIELDS_HTOL
-               u32 unused:22;          /* bits 10-31 */
-               u32 fbr_ndesc:10;       /* bits 0-9 */
-#else
-               u32 fbr_ndesc:10;       /* bits 0-9 */
-               u32 unused:22;          /* bits 10-31 */
-#endif
-       } bits;
-} RXDMA_FBR_NUM_DES_t, *PRXDMA_FBR_NUM_DES_t;
 
 /*
  * structure for free buffer ring 0 available offset reg in rxdma address map