summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2018-11-10 15:01:09 +0000
committerkrw <krw@openbsd.org>2018-11-10 15:01:09 +0000
commit9f30bdc5c25d87af42f6940b5812aedcb7f06b60 (patch)
tree35bcf4f497655214a706e5725a45947e286a94db /sys/dev/usb/uhub.c
parentThe tick messages ("no link...", "no lease...") have had a hard (diff)
downloadwireguard-openbsd-9f30bdc5c25d87af42f6940b5812aedcb7f06b60.tar.xz
wireguard-openbsd-9f30bdc5c25d87af42f6940b5812aedcb7f06b60.zip
Stop passing value+3 as the start time for tick_msg(). Just #define
GRACE_SECONDS 3 inside tick_msg() and use that. Reduces number of pointless variables used to perform the arithmetic, making it more obvious what tick_msg() invocations are doing.
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions