summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2020-06-16 21:49:31 +0000
committermortimer <mortimer@cvs.openbsd.org>2020-06-16 21:49:31 +0000
commit640c682c31edf225e972b686ef85c760aac4bed3 (patch)
tree1cef3ceda95b9826e970ccecc437e33e3d8b1746 /sys/dev/rasops
parent8bb0ff0cf435f94b5a68c836d8eae75cd3b527d3 (diff)
Remove old commented out line and fix indent.
clang-10 complains about the misleading indentation. ok patrick@
Diffstat (limited to 'sys/dev/rasops')
-rw-r--r--sys/dev/rasops/rasops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c
index 1be05797fd1..d827efec44a 100644
--- a/sys/dev/rasops/rasops.c
+++ b/sys/dev/rasops/rasops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rasops.c,v 1.61 2020/05/25 09:55:49 jsg Exp $ */
+/* $OpenBSD: rasops.c,v 1.62 2020/06/16 21:49:30 mortimer Exp $ */
/* $NetBSD: rasops.c,v 1.35 2001/02/02 06:01:01 marcus Exp $ */
/*-
@@ -1859,8 +1859,7 @@ rasops_use_font(struct rasops_info *ri, struct wsdisplay_font *font)
WSDISPLAY_FONTORDER_KNOWN) < 0)
return EINVAL;
- /* if (ri->ri_wsfcookie >= 0) */
- wsfont_unlock(ri->ri_wsfcookie);
+ wsfont_unlock(ri->ri_wsfcookie);
ri->ri_wsfcookie = wsfcookie;
ri->ri_font = wsf;
ri->ri_fontscale = ri->ri_font->fontheight * ri->ri_font->stride;