From: Alan Stern Date: Thu, 27 Oct 2011 15:20:21 +0000 (-0400) Subject: USB: workaround for bug in old version of GCC X-Git-Tag: v3.2-rc3~17^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97ff22ee3b4cb3a334f7385e269773141aed702f;p=pandora-kernel.git USB: workaround for bug in old version of GCC This patch (as1491) works around a bug in GCC-3.4.6, which is still supposed to be supported. The number of microseconds in the udelay() call in quirk_usb_disable_ehci() is fixed at 100, but the compiler doesn't understand this and generates a link-time error. So we replace the otherwise unused variable "delta" with a simple constant 100. This same pattern is already used in other delay loops in that source file. Signed-off-by: Alan Stern Reported-by: Konrad Rzepecki Tested-by: Konrad Rzepecki Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed