git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac2dc8
)
qlge: Move jiffies_to_usecs immediately before loop
author
Joe Perches
<joe@perches.com>
Wed, 20 May 2015 04:44:52 +0000
(21:44 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 21 May 2015 21:23:18 +0000
(17:23 -0400)
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 <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c
patch
|
blob
|
history
diff --cc
drivers/net/ethernet/qlogic/qlge/qlge_main.c
Simple merge