linux_dsm_epyc7002/drivers/usb/dwc3
Lee Jones 3c373454a9 usb: dwc3: dwc3-omap: Do not read DMA status
Commit af566a0be6 ("usb: dwc3: omap: get rid of dma_status") rendered
reading DMA status from the H/W even more redundant.  The variable hasn't
been read/used since 2016.  Remove the set but unused variable and the call
which populates it.

Fixes the following W=1 warning:

 drivers/usb/dwc3/dwc3-omap.c: In function ‘dwc3_omap_probe’:
 drivers/usb/dwc3/dwc3-omap.c:460:8: warning: variable ‘reg’ set but not used [-Wunused-but-set-variable]
 460 | u32 reg;
 | ^~~

Cc: Felipe Balbi <balbi@kernel.org>
Cc: Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200702144625.2533530-9-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-03 09:34:11 +02:00
..
core.c usb: dwc3: Add support for DWC_usb32 IP 2020-05-25 11:09:40 +03:00
core.h usb: dwc3: gadget: Use SET_EP_PRIME for NoStream 2020-05-25 11:09:42 +03:00
debug.h usb: dwc3: gadget: Handle stream transfers 2020-05-25 11:09:42 +03:00
debugfs.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
drd.c usb: dwc3: drd: File headers are not doc headers 2020-07-03 09:34:11 +02:00
dwc3-exynos.c Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk" 2020-06-24 09:52:23 +03:00
dwc3-haps.c usb: dwc3: haps: Workaround matching VID PID 2019-02-07 13:17:19 +02:00
dwc3-keystone.c usb: dwc3: keystone: Turn on USB3 PHY before controller 2020-05-25 11:10:07 +03:00
dwc3-meson-g12a.c usb: dwc3: meson-g12a: fix USB2 PHY initialization on G12A and A1 SoCs 2020-05-29 12:21:26 +02:00
dwc3-of-simple.c usb: dwc3: of-simple: remove Amlogic GXL and AXG compatibles 2020-05-25 11:09:38 +03:00
dwc3-omap.c usb: dwc3: dwc3-omap: Do not read DMA status 2020-07-03 09:34:11 +02:00
dwc3-pci.c usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work 2020-06-24 09:42:39 +03:00
dwc3-qcom.c usb: dwc3: qcom: Replace <linux/clk-provider.h> by <linux/of_clk.h> 2020-03-15 11:32:56 +02:00
dwc3-st.c usb: dwc3: st: Add of_dev_put() in probe function 2019-08-28 13:04:58 +03:00
ep0.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
gadget.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
gadget.h USB: dwc3: Use the correct style for SPDX License Identifier 2020-05-05 10:58:49 +03:00
host.c usb: dwc3: Add support for DWC_usb32 IP 2020-05-25 11:09:40 +03:00
io.h USB: dwc3: Use the correct style for SPDX License Identifier 2020-05-05 10:58:49 +03:00
Kconfig usb: dwc3: select USB_ROLE_SWITCH 2020-05-09 11:05:09 +03:00
Makefile usb: dwc3: Add Amlogic G12A DWC3 glue 2019-05-03 09:13:47 +03:00
trace.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
trace.h USB: dwc3: Use the correct style for SPDX License Identifier 2020-05-05 10:58:49 +03:00
ulpi.c usb: dwc3: ulpi: File headers are not doc headers 2020-07-03 09:34:11 +02:00