Remove FreeBSD 8 support from virtio.
The sbuf API has evolved since 8, as have many others. The other API sweeps didn't make the changes conditional, so this is now noise.
This commit is contained in:
parent
6773051162
commit
5f8395cce4
@ -157,12 +157,7 @@ virtio_describe(device_t dev, const char *msg,
|
||||
if (n > 0)
|
||||
sbuf_cat(&sb, ">");
|
||||
|
||||
#if __FreeBSD_version < 900020
|
||||
sbuf_finish(&sb);
|
||||
if (sbuf_overflowed(&sb) == 0)
|
||||
#else
|
||||
if (sbuf_finish(&sb) == 0)
|
||||
#endif
|
||||
device_printf(dev, "%s\n", sbuf_data(&sb));
|
||||
|
||||
sbuf_delete(&sb);
|
||||
|
Loading…
x
Reference in New Issue
Block a user