Remove FreeBSD 4 support
This commit is contained in:
parent
c19ed2c875
commit
78131dd6c6
@ -97,11 +97,7 @@ rndtest_attach(device_t dev)
|
||||
rsp->rs_discard = 1;
|
||||
rsp->rs_collect = 1;
|
||||
rsp->rs_parent = dev;
|
||||
#if __FreeBSD_version < 500000
|
||||
callout_init(&rsp->rs_to);
|
||||
#else
|
||||
callout_init(&rsp->rs_to, 1);
|
||||
#endif
|
||||
} else
|
||||
device_printf(dev, "rndtest_init: no memory for state block\n");
|
||||
return (rsp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user