From d276d86e12326fc9084d582fb549a91c7f1c0476 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:47:32 +0000 Subject: [PATCH] vt: clean up empty lines in .c and .h files --- sys/dev/vt/hw/ofwfb/ofwfb.c | 2 -- sys/dev/vt/vt.h | 1 - sys/dev/vt/vt_buf.c | 1 - sys/dev/vt/vt_core.c | 3 --- 4 files changed, 7 deletions(-) diff --git a/sys/dev/vt/hw/ofwfb/ofwfb.c b/sys/dev/vt/hw/ofwfb/ofwfb.c index 01f5339fe21..833b98b39f7 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 f980c2f19e4..7d960f68e83 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 3d307168d4f..f147449b20e 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 952dcbbbb6b..bc3a729d000 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)