diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-06-28 08:23:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-06-28 08:23:26 +0000 |
commit | 76401ff66afbf67b6f6aa86d8975c775e5646835 (patch) | |
tree | c940b1d81a0e321a088f9659035179cdbff1bbc9 /sys/dev/pci/igc_mac.h | |
parent | f8d70ade55f5d4ec6464845c1d9990b46055a949 (diff) |
First step at removing struct sleep_state.
Pass the timeout and sleep priority not only to sleep_setup() but also
to sleep_finish(). With that sls_timeout and sls_catch can be removed
from struct sleep_state.
The timeout is now setup first thing in sleep_finish() and no longer as
last thing in sleep_setup(). This should not cause a noticeable difference
since the code run between sleep_setup() and sleep_finish() is minimal.
OK kettenis@
Diffstat (limited to 'sys/dev/pci/igc_mac.h')
0 files changed, 0 insertions, 0 deletions