From: Alan Cox Date: Mon, 18 Jan 2010 15:32:39 +0000 (+0000) Subject: Staging: et131x: kill off the FBR_NUM_DES type X-Git-Tag: MMI-PSA29.97-13-9~24618^2~1^2~166 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09b25c6fa36ea3c961e75cede0f86f1fed5c33b5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: et131x: kill off the FBR_NUM_DES type 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et1310_address_map.h b/drivers/staging/et131x/et1310_address_map.h index e715e4dcb523..fcd968132263 100644 --- a/drivers/staging/et131x/et1310_address_map.h +++ b/drivers/staging/et131x/et1310_address_map.h @@ -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