aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorgirish verma <girish.gcet@gmail.com>2012-05-06 11:05:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 19:44:49 -0400
commitccd68bb8d8ecfb10d62ef6c65851119b1a49c1be (patch)
tree4f8eac37612565905fc7dd91f14bd8547ca6bdeb /drivers/usb/host/xhci.c
parent1949f9e2435cc2e87c63da167af63faafc49b388 (diff)
USB: xhci: testing sizeof xhci_doorbell_array 2 time
Testing BUILD_BUG_ON xhci_doorbell_array structure 2 time, redundant statement Signed-off-by: Girish Verma <girish.gcet@gmail.com> Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>  --- drivers/usb/host/xhci.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 5910048b0a2e..16c05c6b5afa 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -4098,7 +4098,6 @@ static int __init xhci_hcd_init(void)
4098 BUILD_BUG_ON(sizeof(struct xhci_intr_reg) != 8*32/8); 4098 BUILD_BUG_ON(sizeof(struct xhci_intr_reg) != 8*32/8);
4099 /* xhci_run_regs has eight fields and embeds 128 xhci_intr_regs */ 4099 /* xhci_run_regs has eight fields and embeds 128 xhci_intr_regs */
4100 BUILD_BUG_ON(sizeof(struct xhci_run_regs) != (8+8*128)*32/8); 4100 BUILD_BUG_ON(sizeof(struct xhci_run_regs) != (8+8*128)*32/8);
4101 BUILD_BUG_ON(sizeof(struct xhci_doorbell_array) != 256*32/8);
4102 return 0; 4101 return 0;
4103unreg_pci: 4102unreg_pci:
4104 xhci_unregister_pci(); 4103 xhci_unregister_pci();