* [PATCH] usb: dwc3: core: Fix unused variable warning in core driver
@ 2024-05-06 5:15 Krishna Kurapati
2024-05-06 6:17 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Krishna Kurapati @ 2024-05-06 5:15 UTC (permalink / raw)
To: Thinh Nguyen, Greg Kroah-Hartman
Cc: linux-kernel, linux-usb, quic_ppratap, quic_jackp,
Krishna Kurapati
While fixing a merge conflict in linux-next, hw_mode variable
was left unused. Remove the unused variable in hs_phy_setup call.
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
---
drivers/usb/dwc3/core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 8b6f7769fcd5..7f176ba25354 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -676,11 +676,8 @@ static int dwc3_ss_phy_setup(struct dwc3 *dwc, int index)
static int dwc3_hs_phy_setup(struct dwc3 *dwc, int index)
{
- unsigned int hw_mode;
u32 reg;
- hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0);
-
reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index));
/* Select the HS PHY interface */
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: dwc3: core: Fix unused variable warning in core driver
2024-05-06 5:15 [PATCH] usb: dwc3: core: Fix unused variable warning in core driver Krishna Kurapati
@ 2024-05-06 6:17 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2024-05-06 6:17 UTC (permalink / raw)
To: Krishna Kurapati
Cc: Thinh Nguyen, linux-kernel, linux-usb, quic_ppratap, quic_jackp
On Mon, May 06, 2024 at 10:45:48AM +0530, Krishna Kurapati wrote:
> While fixing a merge conflict in linux-next, hw_mode variable
> was left unused. Remove the unused variable in hs_phy_setup call.
>
> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
You forgot the reported-by: line :(
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-06 6:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 5:15 [PATCH] usb: dwc3: core: Fix unused variable warning in core driver Krishna Kurapati
2024-05-06 6:17 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox