From: Tony Lindgren Date: Thu, 16 Aug 2007 08:18:37 +0000 (-0700) Subject: musb_hdrc: Search and replace wBestDiff with best_diff X-Git-Tag: v2.6.23-omap1~188 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f5facad64936c8bc41158ae364023864efefb324;p=linux-2.6-omap-h63xx.git musb_hdrc: Search and replace wBestDiff with best_diff Search and replace wBestDiff with best_diff Signed-off-by: Tony Lindgren --- 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; } }