diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2017-12-26 13:33:51 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-02 17:33:21 +0100 |
commit | 3f514f97ee82bf1dcf860a0ad0aebd637159e107 (patch) | |
tree | 596b1e2292f2bbf8cf1866b00f0f7642028d59d3 /drivers/usb/musb/musb_host.c | |
parent | 576ec7fd93c32d1ec56dcf69099848da81e4ec4c (diff) | |
download | blackbird-op-linux-3f514f97ee82bf1dcf860a0ad0aebd637159e107.tar.gz blackbird-op-linux-3f514f97ee82bf1dcf860a0ad0aebd637159e107.zip |
usb: musb: remove unused pipe variable
This patch fix the following build warning:
drivers/usb/musb/musb_host.c:1809:8: warning: variable 'pipe' set but not used [-Wunused-but-set-variable]
by removing the pipe variable in musb_host_rx()
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/musb_host.c')
-rw-r--r-- | drivers/usb/musb/musb_host.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index aa573ab99384..394b4ac86161 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -1779,7 +1779,6 @@ void musb_host_rx(struct musb *musb, u8 epnum) struct musb_qh *qh = hw_ep->in_qh; size_t xfer_len; void __iomem *mbase = musb->mregs; - int pipe; u16 rx_csr, val; bool iso_err = false; bool done = false; @@ -1808,8 +1807,6 @@ void musb_host_rx(struct musb *musb, u8 epnum) return; } - pipe = urb->pipe; - trace_musb_urb_rx(musb, urb); /* check for errors, concurrent stall & unlink is not really |