diff options
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/omap/nxphdmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/omap/nxphdmi.c b/sys/arch/armv7/omap/nxphdmi.c index 9add05ebdd6..322fb3e2d61 100644 --- a/sys/arch/armv7/omap/nxphdmi.c +++ b/sys/arch/armv7/omap/nxphdmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nxphdmi.c,v 1.4 2017/08/31 21:39:25 ians Exp $ */ +/* $OpenBSD: nxphdmi.c,v 1.5 2017/09/11 05:44:22 jsg Exp $ */ /* * Copyright (c) 2016 Ian Sutton <ians@openbsd.org> * All rights reserved. @@ -769,7 +769,7 @@ nxphdmi_get_edid(uint8_t *buf, int buflen) int ret = 0, i; struct nxphdmi_softc *sc = nxphdmi_cd.cd_devs[0]; - if (buflen < EDID_LENGTH || sc->sc_edid == NULL) + if (buflen < EDID_LENGTH) return -1; for (i = 0; i < EDID_LENGTH; i++) |