summaryrefslogtreecommitdiff
path: root/sys/dev/pv/virtio.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2019-01-10 18:05:44 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2019-01-10 18:05:44 +0000
commitb7f2e3112b2567cdebe918d846cd7832f84adaee (patch)
treec8fd7e9901cfb61de33828cd42300f3bc4429643 /sys/dev/pv/virtio.c
parenta4533973a5331713cfa0cb275c4287e1a461189c (diff)
Move some common defines to virtiovar.h
And fix some comments
Diffstat (limited to 'sys/dev/pv/virtio.c')
-rw-r--r--sys/dev/pv/virtio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pv/virtio.c b/sys/dev/pv/virtio.c
index 82fd2939eb3..f6293583d43 100644
--- a/sys/dev/pv/virtio.c
+++ b/sys/dev/pv/virtio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio.c,v 1.11 2017/08/10 18:00:59 reyk Exp $ */
+/* $OpenBSD: virtio.c,v 1.12 2019/01/10 18:05:43 sf Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
@@ -53,9 +53,6 @@ struct cfdriver virtio_cd = {
NULL, "virtio", DV_DULL
};
-#define virtio_set_status(sc, s) (sc)->sc_ops->set_status(sc, s)
-#define virtio_device_reset(sc) virtio_set_status((sc), 0)
-
static const char * const virtio_device_name[] = {
"Unknown (0)", /* 0 */
"Network", /* 1 */