summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2018-02-06 00:18:39 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2018-02-06 00:18:39 +0000
commit95245e673750f56f31b8a2421cf29d1f31a94a1a (patch)
treec4f8f22c4521621d03e383f537a2a8a9ec71dc3f /sys/dev/ic
parent8602ce4afa2b8667a2ceec3c6b25b9c8fa152bc0 (diff)
remove a bit of dead code. ok bluhm deraadt
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/aic79xx.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index c6b3c928aad..e59d8956bc7 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.63 2017/12/12 12:33:36 krw Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.64 2018/02/06 00:18:38 tedu Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -7607,7 +7607,6 @@ ahd_reset_current_bus(struct ahd_softc *ahd)
int
ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset)
{
- struct ahd_devinfo devinfo;
u_int initiator;
u_int target;
u_int max_scsiid;
@@ -7617,11 +7616,6 @@ ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset)
ahd->pending_device = NULL;
- ahd_compile_devinfo(&devinfo,
- CAM_TARGET_WILDCARD,
- CAM_TARGET_WILDCARD,
- CAM_LUN_WILDCARD,
- channel, ROLE_UNKNOWN);
ahd_pause(ahd);
/* Make sure the sequencer is in a safe location. */