Skip to content

Commit 1e65ffd

Browse files
author
Myron Stowe
committed
x86/pci: Remove OLPC dead code
JIRA: https://issues.redhat.com/browse/RHEL-50255 Upstream Status: 9d11a09 commit 9d11a09 Author: Kunwu Chan <chentao@kylinos.cn> Date: Thu Jan 25 11:06:23 2024 +0800 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/20240125030623.513902-1-chentao@kylinos.cn Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Myron Stowe <mstowe@redhat.com>
1 parent 366365f commit 1e65ffd

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)