Skip to content

usb: remove some unused code

Alex Elder linux-arm-kernel linux-arm-msm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: host: remove ehci-msm.cdrivers/usb/host/Kconfig drivers/usb/host/Makefile drivers/usb/host/ehci-msm.c+0 -2781 reply
2/3usb: phy: remove phy-msm-usb.cdrivers/usb/phy/Kconfig drivers/usb/phy/Makefile drivers/usb/phy/phy-msm-usb.c+0 -21012 replies
3/3usb: phy: remove phy-qcom-8x16-usb.cdrivers/usb/phy/Kconfig drivers/usb/phy/Makefile drivers/usb/phy/phy-qcom-8x16-usb.c+0 -3810 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBjorn AnderssonAndy GrossAlan Stern
1/3A-b A-b A-b
2/3A-b A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] usb: remove some unused code

This series deletes some Qualcomm USB code is no longer needed by any Qualcomm hardware. A separate series deletes the Kconfig options that enable building this code from the ARM64 defconfig.

With these drivers, host and gadget mode were implemented separately for the same hardware, which is inherently racy and broken. These drivers have not really been needed since Stephen Boyd reworked the ChipIdea driver to support these platforms.

-Alex

v3: - rebased, and expanded the above description; no functional change
v2: - delete sections of Kconfig files that control whether the deleted
code gets built

Alex Elder (3):
usb: host: remove ehci-msm.c
usb: phy: remove phy-msm-usb.c
usb: phy: remove phy-qcom-8x16-usb.c

 drivers/usb/host/Kconfig            |   12 -
 drivers/usb/host/Makefile           |    1 -
 drivers/usb/host/ehci-msm.c         |  265 -----
 drivers/usb/phy/Kconfig             |   29 -
 drivers/usb/phy/Makefile            |    2 -
 drivers/usb/phy/phy-msm-usb.c       | 2085 -----------------------------------
 drivers/usb/phy/phy-qcom-8x16-usb.c |  366 ------
 7 files changed, 2760 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-msm.c
 delete mode 100644 drivers/usb/phy/phy-msm-usb.c
 delete mode 100644 drivers/usb/phy/phy-qcom-8x16-usb.c
Signature · 1 line
2.11.0