summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-mc13xxx.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-20 07:44:52 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-22 00:23:18 +0300
commit3f6e785fe113febd037af6351fc375eb428ff65b (patch)
tree265fb99b3807c63628fa994ce484031c6d2e7e8b /drivers/rtc/rtc-mc13xxx.c
parent4ac2dc8928d186f93572398b3897c59e9eb591e5 (diff)
downloadlinux-3f6e785fe113febd037af6351fc375eb428ff65b.tar.xz
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>
Diffstat (limited to 'drivers/rtc/rtc-mc13xxx.c')
0 files changed, 0 insertions, 0 deletions