]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace wBestDiff with best_diff
authorTony Lindgren <tony@atomide.com>
Thu, 16 Aug 2007 08:18:37 +0000 (01:18 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Aug 2007 10:35:06 +0000 (03:35 -0700)
Search and replace wBestDiff with best_diff

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_host.c

index 7d56932902aa57da8950a66bdf41b230bad99bb0..556d55b4d07c372345f21afba74c1d7d28d151c3 100644 (file)
@@ -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;
                }
        }