From d21fb41c01e0875ce9f242a8dc07710be16e9c1e Mon Sep 17 00:00:00 2001 From: lly Date: Mon, 27 Apr 2009 17:09:51 -0400 Subject: [PATCH] USB EHCI: fix for build when CONFIG_USB_EHCI_TT_NEWSCHED is not set --- release/src/linux/linux/drivers/usb/host/ehci-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/src/linux/linux/drivers/usb/host/ehci-sched.c b/release/src/linux/linux/drivers/usb/host/ehci-sched.c index b0c5c55011..cb7aa2a74a 100644 --- a/release/src/linux/linux/drivers/usb/host/ehci-sched.c +++ b/release/src/linux/linux/drivers/usb/host/ehci-sched.c @@ -672,6 +672,7 @@ static int check_intr_schedule ( ) { int retval = -ENOSPC; + u8 mask = 0; if (qh->c_usecs && uframe >= 6) /* FSTN territory? */ goto done; @@ -684,7 +685,6 @@ static int check_intr_schedule ( goto done; } #ifdef CONFIG_USB_EHCI_TT_NEWSCHED - u8 mask = 0; if (tt_available (ehci, qh->period, qh->dev, frame, uframe, qh->tt_usecs)) { unsigned i; -- 2.11.4.GIT