Commit 77d6554d authored by Geyslan G. Bem's avatar Geyslan G. Bem Committed by Greg Kroah-Hartman

usb: host: ehci-sched: remove useless initializations

This patch removes useless initializations.

Tested by compilation only.
Caught by cppcheck.
Signed-off-by: default avatarGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 25d10869
...@@ -2132,7 +2132,7 @@ sitd_patch( ...@@ -2132,7 +2132,7 @@ sitd_patch(
) )
{ {
struct ehci_iso_packet *uf = &iso_sched->packet [index]; struct ehci_iso_packet *uf = &iso_sched->packet [index];
u64 bufp = uf->bufp; u64 bufp;
sitd->hw_next = EHCI_LIST_END(ehci); sitd->hw_next = EHCI_LIST_END(ehci);
sitd->hw_fullspeed_ep = stream->address; sitd->hw_fullspeed_ep = stream->address;
...@@ -2242,7 +2242,7 @@ static bool sitd_complete(struct ehci_hcd *ehci, struct ehci_sitd *sitd) ...@@ -2242,7 +2242,7 @@ static bool sitd_complete(struct ehci_hcd *ehci, struct ehci_sitd *sitd)
struct urb *urb = sitd->urb; struct urb *urb = sitd->urb;
struct usb_iso_packet_descriptor *desc; struct usb_iso_packet_descriptor *desc;
u32 t; u32 t;
int urb_index = -1; int urb_index;
struct ehci_iso_stream *stream = sitd->stream; struct ehci_iso_stream *stream = sitd->stream;
struct usb_device *dev; struct usb_device *dev;
bool retval = false; bool retval = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment