Skip to content

Commit 9d11a09

Browse files
KunWuChanbjorn-helgaas
authored andcommitted
x86/pci: Remove OLPC dead code
3ef0e1f ("x86: olpc: add One Laptop Per Child architecture support") added a commented-out EHCI config section that has never been used. Remove this dead code. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kunwu Chan <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 4c40739 commit 9d11a09

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/pci/olpc.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ static const uint32_t ehci_hdr[] = { /* dev f function 4 - devfn = 7d */
154154
0x0, 0x40, 0x0, 0x40a, /* CapPtr INT-D, IRQA */
155155
0xc8020001, 0x0, 0x0, 0x0, /* Capabilities - 40 is R/O, 44 is
156156
mask 8103 (power control) */
157-
#if 0
158-
0x1, 0x40080000, 0x0, 0x0, /* EECP - see EHCI spec section 2.1.7 */
159-
#endif
160157
0x01000001, 0x0, 0x0, 0x0, /* EECP - see EHCI spec section 2.1.7 */
161158
0x2020, 0x0, 0x0, 0x0, /* (EHCI page 8) 60 SBRN (R/O),
162159
61 FLADJ (R/W), PORTWAKECAP */

0 commit comments

Comments
 (0)