summaryrefslogtreecommitdiff
path: root/sys/dev/vt
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:47:32 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:47:32 +0000
commitd276d86e12326fc9084d582fb549a91c7f1c0476 (patch)
tree0765dc4035b718fc44fa3e84693007080a78eb05 /sys/dev/vt
parent560f4fcdd8cfdae4ba2d0d90bdad728d08177300 (diff)
Notes
Diffstat (limited to 'sys/dev/vt')
-rw-r--r--sys/dev/vt/hw/ofwfb/ofwfb.c2
-rw-r--r--sys/dev/vt/vt.h1
-rw-r--r--sys/dev/vt/vt_buf.c1
-rw-r--r--sys/dev/vt/vt_core.c3
4 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/vt/hw/ofwfb/ofwfb.c b/sys/dev/vt/hw/ofwfb/ofwfb.c
index 01f5339fe212..833b98b39f78 100644
--- a/sys/dev/vt/hw/ofwfb/ofwfb.c
+++ b/sys/dev/vt/hw/ofwfb/ofwfb.c
@@ -504,7 +504,6 @@ ofwfb_init(struct vt_device *vd)
#endif
}
-
#if defined(__powerpc__)
/*
* If we are running on PowerPC in real mode (supported only on AIM
@@ -521,4 +520,3 @@ ofwfb_init(struct vt_device *vd)
return (CN_INTERNAL);
}
-
diff --git a/sys/dev/vt/vt.h b/sys/dev/vt/vt.h
index f980c2f19e42..7d960f68e83f 100644
--- a/sys/dev/vt/vt.h
+++ b/sys/dev/vt/vt.h
@@ -450,4 +450,3 @@ extern const unsigned int vt_logo_sprite_width;
void vtterm_draw_cpu_logos(struct vt_device *);
#endif /* !_DEV_VT_VT_H_ */
-
diff --git a/sys/dev/vt/vt_buf.c b/sys/dev/vt/vt_buf.c
index 3d307168d4ff..f147449b20e2 100644
--- a/sys/dev/vt/vt_buf.c
+++ b/sys/dev/vt/vt_buf.c
@@ -706,7 +706,6 @@ vtbuf_flush_mark(struct vt_buf *vb)
/* Notify renderer to update marked region. */
if ((vb->vb_mark_start.tp_col != vb->vb_mark_end.tp_col) ||
(vb->vb_mark_start.tp_row != vb->vb_mark_end.tp_row)) {
-
s = vtbuf_htw(vb, vb->vb_mark_start.tp_row);
e = vtbuf_htw(vb, vb->vb_mark_end.tp_row);
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 952dcbbbb6b9..bc3a729d000e 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -1422,7 +1422,6 @@ vtterm_splash(struct vt_device *vd)
/* Display a nice boot splash. */
if (!(vd->vd_flags & VDF_TEXTMODE) && (boothowto & RB_MUTE)) {
-
top = (vd->vd_height - vt_logo_height) / 2;
left = (vd->vd_width - vt_logo_width) / 2;
switch (vt_logo_depth) {
@@ -1437,7 +1436,6 @@ vtterm_splash(struct vt_device *vd)
}
#endif
-
static void
vtterm_cnprobe(struct terminal *tm, struct consdev *cp)
{
@@ -2729,7 +2727,6 @@ vt_upgrade(struct vt_device *vd)
vt_window_switch, vw, SHUTDOWN_PRI_DEFAULT);
}
}
-
}
VT_LOCK(vd);
if (vd->vd_curwindow == NULL)