Author: imp Date: Sun Mar 1 18:18:07 2020 New Revision: 358494 URL: https://svnweb.freebsd.org/changeset/base/358494
Log: 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. Modified: head/sys/dev/virtio/virtio.c Modified: head/sys/dev/virtio/virtio.c ============================================================================== --- head/sys/dev/virtio/virtio.c Sun Mar 1 18:18:01 2020 (r358493) +++ head/sys/dev/virtio/virtio.c Sun Mar 1 18:18:07 2020 (r358494) @@ -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); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"