From 67ea9c1d0af5ecf99166f1ba435eeaeedbbd0fc9 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Fri, 11 Apr 2008 08:18:02 +0000 Subject: [PATCH] Remove unintended change from r334, added there only for testing TM. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@335 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/linux/isp_scst.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qla_isp/linux/isp_scst.c b/qla_isp/linux/isp_scst.c index b92c068d8..5d2767a28 100644 --- a/qla_isp/linux/isp_scst.c +++ b/qla_isp/linux/isp_scst.c @@ -356,12 +356,8 @@ tasklet_rx_cmds(unsigned long data) tmd_cmd_t *tmd; tmd_xact_t *xact; struct scst_cmd *scst_cmd; - int nloops=4; rx_loop: - if (nloops-- <= 0) - return; - spin_lock_irq(&bc->tmds_lock); tmd = bc->tmds_front; if (tmd == NULL || tmd->cd_ini == NULL) {