Remove debounce code in mpt_intr. After some reflection

and watching a debounce followed by a timeout, I think
I'm forced to conclude that it was not a good idea.
This commit is contained in:
mjacob 2006-04-19 21:17:33 +00:00
parent 173aa256de
commit 30583e8a0d

View File

@ -661,7 +661,6 @@ mpt_intr(void *arg)
{
struct mpt_softc *mpt;
uint32_t reply_desc;
uint32_t last_reply_desc = MPT_REPLY_EMPTY;
int ntrips = 0;
mpt = (struct mpt_softc *)arg;
@ -675,15 +674,6 @@ mpt_intr(void *arg)
u_int req_index;
int free_rf;
if (reply_desc == last_reply_desc) {
mpt_prt(mpt, "debounce reply_desc 0x%x\n", reply_desc);
if (ntrips++ == 1000) {
break;
}
continue;
}
last_reply_desc = reply_desc;
req = NULL;
reply_frame = NULL;
reply_baddr = 0;