summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsdisplay.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-05-16 12:51:51 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-05-16 12:51:51 +0000
commit87f10021e726a2d2d79e079d9fe15180e3023b3e (patch)
tree3dac3102be5f942a0db26367ab9ee941dbe8dd02 /sys/dev/wscons/wsdisplay.c
parenta1ba5f046489f61451990b86f39a64f15b7a177a (diff)
No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)
Diffstat (limited to 'sys/dev/wscons/wsdisplay.c')
-rw-r--r--sys/dev/wscons/wsdisplay.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index d931bb8580e..dbfa6441287 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.26 2001/05/08 22:28:43 mickey Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.27 2001/05/16 12:51:50 ho Exp $ */
/* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */
/*
@@ -266,8 +266,6 @@ wsscreen_attach(sc, console, emul, type, cookie, ccol, crow, defattr)
struct wsscreen *scr;
scr = malloc(sizeof(struct wsscreen), M_DEVBUF, M_WAITOK);
- if (!scr)
- return (NULL);
if (console) {
dconf = &wsdisplay_console_conf;