From e48077d7f388bd3f58c391e813f9de7f1bdb2d59 Mon Sep 17 00:00:00 2001 From: Bill Beech Date: Tue, 4 Feb 2020 17:02:18 -0700 Subject: [PATCH] IntelSystems: Silence Coverity generated warning --- Intel-Systems/common/zx200a.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Intel-Systems/common/zx200a.c b/Intel-Systems/common/zx200a.c index 29a0db44..9284512b 100644 --- a/Intel-Systems/common/zx200a.c +++ b/Intel-Systems/common/zx200a.c @@ -505,13 +505,8 @@ uint8 zx200ar1DD(t_bool io, uint8 data, uint8 devnum) zx200a.intff = 0; //clear interrupt FF if (zx200a.intff) zx200a.DDstat &= ~FDCINT; - if (zx200a.rdychg) { - zx200a.rtype = ROK; - return zx200a.rtype; - } else { - zx200a.rtype = ROK; - return zx200a.rtype; - } + zx200a.rtype = ROK; + return zx200a.rtype; } else { /* write control port */ zx200a.iopb = data; }