OpenCloudOS-Kernel/drivers/net/ethernet/qlogic
Joe Perches 3f6e785fe1 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 <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-21 17:23:18 -04:00
..
netxen netxen_nic: use spin_[un]lock_bh around tx_clean_lock (2) 2015-05-09 16:44:46 -04:00
qlcnic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-04-15 09:00:47 -07:00
qlge qlge: Move jiffies_to_usecs immediately before loop 2015-05-21 17:23:18 -04:00
Kconfig qlcnic: Fix Kconfig dependency on HWMON 2014-05-07 17:23:25 -04:00
Makefile
qla3xxx.c qla3xxx: don't allow never end busy loop 2015-01-06 17:41:36 -05:00
qla3xxx.h