svn commit: r365134 - in head/sys/dev/vt: . hw/ofwfb
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:47:34 UTC 2020
Author: mjg
Date: Tue Sep 1 21:47:32 2020
New Revision: 365134
URL: https://svnweb.freebsd.org/changeset/base/365134
Log:
vt: clean up empty lines in .c and .h files
Modified:
head/sys/dev/vt/hw/ofwfb/ofwfb.c
head/sys/dev/vt/vt.h
head/sys/dev/vt/vt_buf.c
head/sys/dev/vt/vt_core.c
Modified: head/sys/dev/vt/hw/ofwfb/ofwfb.c
==============================================================================
--- head/sys/dev/vt/hw/ofwfb/ofwfb.c Tue Sep 1 21:47:20 2020 (r365133)
+++ head/sys/dev/vt/hw/ofwfb/ofwfb.c Tue Sep 1 21:47:32 2020 (r365134)
@@ -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);
}
-
Modified: head/sys/dev/vt/vt.h
==============================================================================
--- head/sys/dev/vt/vt.h Tue Sep 1 21:47:20 2020 (r365133)
+++ head/sys/dev/vt/vt.h Tue Sep 1 21:47:32 2020 (r365134)
@@ -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_ */
-
Modified: head/sys/dev/vt/vt_buf.c
==============================================================================
--- head/sys/dev/vt/vt_buf.c Tue Sep 1 21:47:20 2020 (r365133)
+++ head/sys/dev/vt/vt_buf.c Tue Sep 1 21:47:32 2020 (r365134)
@@ -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);
Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c Tue Sep 1 21:47:20 2020 (r365133)
+++ head/sys/dev/vt/vt_core.c Tue Sep 1 21:47:32 2020 (r365134)
@@ -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)
More information about the svn-src-head
mailing list