[PATCH 14/16] ncr710: remove dead message in actions

Paolo Bonzini posted 16 patches 5 days, 16 hours ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>, Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>
[PATCH 14/16] ncr710: remove dead message in actions
Posted by Paolo Bonzini 5 days, 16 hours ago
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/scsi/ncr53c710.h | 2 --
 hw/scsi/ncr53c710.c | 6 ------
 2 files changed, 8 deletions(-)

diff --git a/hw/scsi/ncr53c710.h b/hw/scsi/ncr53c710.h
index 97f1bf5fe22..ee6980753d5 100644
--- a/hw/scsi/ncr53c710.h
+++ b/hw/scsi/ncr53c710.h
@@ -108,8 +108,6 @@ typedef enum {
 typedef enum {
     NCR710_MSG_ACTION_NONE = 0,
     NCR710_MSG_ACTION_DISCONNECT = 1,
-    NCR710_MSG_ACTION_DATA_OUT = 2,
-    NCR710_MSG_ACTION_DATA_IN = 3
 } NCR710MessageAction;
 
 typedef struct NCR710State NCR710State;
diff --git a/hw/scsi/ncr53c710.c b/hw/scsi/ncr53c710.c
index 298e0317b70..ea114a0cb40 100644
--- a/hw/scsi/ncr53c710.c
+++ b/hw/scsi/ncr53c710.c
@@ -1027,12 +1027,6 @@ static void ncr710_do_msgin(NCR710State *s)
     case NCR710_MSG_ACTION_DISCONNECT:
         s->sstat2 &= ~PHASE_MASK;
         break;
-    case NCR710_MSG_ACTION_DATA_OUT:
-        ncr710_set_phase(s, PHASE_DO);
-        break;
-    case NCR710_MSG_ACTION_DATA_IN:
-        ncr710_set_phase(s, PHASE_DI);
-        break;
     default:
         abort();
     }
-- 
2.53.0