diff options
| author | Lee Jones <[email protected]> | 2020-07-02 14:46:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-03 07:34:11 +0000 |
| commit | 3c373454a9f288d81d5780e4a4ed9cfe245552da (patch) | |
| tree | 16a92ffb0aca14eb1d513466f37cac1fea32d980 /drivers/usb/cdns3/core.c | |
| parent | usb: common: ulpi: Fix a few kerneldoc related issues (diff) | |
| download | kernel-3c373454a9f288d81d5780e4a4ed9cfe245552da.tar.gz kernel-3c373454a9f288d81d5780e4a4ed9cfe245552da.zip | |
usb: dwc3: dwc3-omap: Do not read DMA status
Commit af566a0be6e49 ("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 <[email protected]>
Cc: Andrzej Siewior <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions
