diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-12-10 00:18:45 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-12-10 00:18:45 +0000 |
commit | 51f94f0fe8e0ccd1675812791478f84385f25cd8 (patch) | |
tree | dcf1f938922b63077d9d0283530f2e55976a8476 /sys/dev/ic | |
parent | 9ecce3445894367d96d4b821b88bbb1d5a78a33f (diff) |
remove dead assignment and newly created unused variable.
Found by LLVM/Clang Static Analyzer.
ok krw@ marco@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/aic79xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index 62797a4ab0d..9ee52832171 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx.c,v 1.45 2009/07/11 17:31:22 krw Exp $ */ +/* $OpenBSD: aic79xx.c,v 1.46 2009/12/10 00:18:44 chl Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -1081,7 +1081,6 @@ ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) struct scb *scb; struct ahd_initiator_tinfo *targ_info; struct ahd_tmode_tstate *tstate; - struct ahd_transinfo *tinfo; u_int scbid; /* @@ -1114,7 +1113,6 @@ ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) devinfo.our_scsiid, devinfo.target, &tstate); - tinfo = &targ_info->curr; ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, AHD_TRANS_ACTIVE, /*paused*/TRUE); ahd_set_syncrate(ahd, &devinfo, /*period*/0, |