From f5facad64936c8bc41158ae364023864efefb324 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 16 Aug 2007 01:18:37 -0700 Subject: [PATCH] musb_hdrc: Search and replace wBestDiff with best_diff Search and replace wBestDiff with best_diff Signed-off-by: Tony Lindgren --- drivers/usb/musb/musb_host.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 7d56932902a..556d55b4d07 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -1660,7 +1660,7 @@ static int musb_schedule( int is_in) { int idle; - int wBestDiff; + int best_diff; int nBestEnd, nEnd; struct musb_hw_ep *hw_ep = NULL; struct list_head *head = NULL; @@ -1703,7 +1703,7 @@ static int musb_schedule( * that simplistic approach makes TT scheduling a lot simpler; * there is none, and thus none of its complexity... */ - wBestDiff = 4096; + best_diff = 4096; nBestEnd = -1; for (nEnd = 1; nEnd < musb->nr_endpoints; nEnd++) { @@ -1720,8 +1720,8 @@ static int musb_schedule( else diff = hw_ep->max_packet_sz_tx - qh->maxpacket; - if (diff > 0 && wBestDiff > diff) { - wBestDiff = diff; + if (diff > 0 && best_diff > diff) { + best_diff = diff; nBestEnd = nEnd; } } -- 2.41.1