diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-01-27 22:05:25 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-01-27 22:05:25 +0000 |
commit | 6c19e7dc041a39463b3c894fea6ae8ccda1d7ce9 (patch) | |
tree | 84743c7172104369c45c6726e52b202fe0af94ae /sys/arch/i386/conf | |
parent | 2e9a5cd6e3a9050fccfa9a96f111f9dcf437b23e (diff) |
We only poll on the bpf fd and the routing socket fd. No need for
complex list code to keep track. So nuke it.
Also eliminate unnecessary variable ('dead') that means 'rfdesc is
closed'. Just set rfdesc to -1 when it is closed and use that.
As suggested by millert@ and claudio@, don't bother setting revents
members to zero since poll() does that.
Np functional change, just less code.
'looks good' claudio@ 'I like where this is going' henning@
Diffstat (limited to 'sys/arch/i386/conf')
0 files changed, 0 insertions, 0 deletions