usb: dwc2: Fix dead code in hcd.c
authorVardan Mikayelyan <mvardan@synopsys.com>
Fri, 11 Nov 2016 01:38:19 +0000 (17:38 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:16 +0000 (13:54 +0200)
commit2df72e7f6ea5e82c0c5989e6341c34cd8abe6df1
tree3191db150306013e67df9a8816e91fd2e1fc21f9
parent39ebb05ca83dc636f9c9159b3c6dbc58c932b26a
usb: dwc2: Fix dead code in hcd.c

Because usb_pipetype() masks urb->pipe, the default case can never be
hit. Remove it. This cleans up a coverity warning.

Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/hcd.c