mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 14:04:05 +08:00
usb: host: ehci-sched: remove useless initializations
This patch removes useless initializations. Tested by compilation only. Caught by cppcheck. Signed-off-by: Geyslan G. Bem <geyslan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
25d108696c
commit
77d6554d1b
@ -2132,7 +2132,7 @@ sitd_patch(
|
||||
)
|
||||
{
|
||||
struct ehci_iso_packet *uf = &iso_sched->packet [index];
|
||||
u64 bufp = uf->bufp;
|
||||
u64 bufp;
|
||||
|
||||
sitd->hw_next = EHCI_LIST_END(ehci);
|
||||
sitd->hw_fullspeed_ep = stream->address;
|
||||
@ -2242,7 +2242,7 @@ static bool sitd_complete(struct ehci_hcd *ehci, struct ehci_sitd *sitd)
|
||||
struct urb *urb = sitd->urb;
|
||||
struct usb_iso_packet_descriptor *desc;
|
||||
u32 t;
|
||||
int urb_index = -1;
|
||||
int urb_index;
|
||||
struct ehci_iso_stream *stream = sitd->stream;
|
||||
struct usb_device *dev;
|
||||
bool retval = false;
|
||||
|
Loading…
Reference in New Issue
Block a user