lkml.org 
[lkml]   [2006]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] usb 'print_schedule_frame' defined but not used warning fix
Date
Hello,

> This is a simple fix for this warning:
>
> drivers/usb/host/ehci-sched.c:270: warning: 'print_schedule_frame' defined
> but not used
>
> The print_budget_frame() is not used anywhere in the kernel tree and serves
> debugging purposes only. This patch is against 2.6.19-rc3-mm1.

Ofcourse I ment print_schedule_frame(). Please ignore previous patch. Sorry.

Regards,

Mariusz Kozlowski

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
---

--- linux-2.6.19-rc3-orig/drivers/usb/host/ehci-sched.c 2006-10-30
21:13:42.000000000 +0100
+++ linux-2.6.19-rc3/drivers/usb/host/ehci-sched.c 2006-10-30
21:14:49.000000000 +0100
@@ -265,6 +265,7 @@ static void print_budget (struct ehci_hc
print_budget_frame(ehci,i,insert,owner);
}

+#if 0
static void print_schedule_frame (char *pre,struct ehci_hcd *ehci, int frame,
void *insert)
{
@@ -333,6 +334,7 @@ static void print_schedule_frame (char *
}
printk("\n");
}
+#endif

/* find position of a specific entry in the periodic schedule (ie,
* returns pointers such that we can update the predecessor's
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-10-30 21:19    [W:0.093 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site