From: Joe Perches Date: Wed, 20 May 2015 04:44:52 +0000 (-0700) Subject: qlge: Move jiffies_to_usecs immediately before loop X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~246 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f6e785fe113febd037af6351fc375eb428ff65b;p=pandora-kernel.git qlge: Move jiffies_to_usecs immediately before loop 30 usecs (or really, 1 jiffy) can go by pretty fast. Move the set of the timeout immediately before the loop. Remove the unnecessary max(1ul, usecs_to_jiffies(30)) as usecs_to_jiffies with a non-zero constant is guaranteed to be non-zero. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- Reading git-diff-tree failed