summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2018-02-06 00:18:38 +0000
committertedu <tedu@openbsd.org>2018-02-06 00:18:38 +0000
commit0ec7e569bdfa1d267e10879e655b13522ac46635 (patch)
tree178bbbd8e9d3f2a70e9730ba7dfdc8679ed47d55
parentchdir to the target directory, run make there and fchdir back after. (diff)
downloadwireguard-openbsd-0ec7e569bdfa1d267e10879e655b13522ac46635.tar.xz
wireguard-openbsd-0ec7e569bdfa1d267e10879e655b13522ac46635.zip
remove a bit of dead code. ok bluhm deraadt
-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. */