[2.6 patch] scsi/seagate.c: remove dead code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <James.Bottomley@...>
Cc: <linux-scsi@...>, <linux-kernel@...>
Date: Sunday, October 28, 2007 - 11:51 am

This patch removes obviously dead code.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/scsi/seagate.c |    2 --
 1 file changed, 2 deletions(-)

c0807bbefb65ef679b7d2ec13d14c35f2e927404 
diff --git a/drivers/scsi/seagate.c b/drivers/scsi/seagate.c
index b113244..2d31ed4 100644
--- a/drivers/scsi/seagate.c
+++ b/drivers/scsi/seagate.c
@@ -1437,17 +1437,15 @@ connect_loop:
 					break;
 #ifdef LINKED
 				case LINKED_WRONG:
 					WRITE_DATA (ABORT);
 					linked_connected = 0;
 					reselect = CAN_RECONNECT;
 					goto connect_loop;
-					DPRINTK (PHASE_MSGOUT | DEBUG_LINKED, "scsi%d : sent ABORT message to cancel incorrect I_T_L nexus.\n", hostno);
 #endif					/* LINKED */
-					DPRINTK (DEBUG_LINKED, "correct\n");
 				default:
 					WRITE_DATA (NOP);
 					printk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target);
 				}
 				break;
 
 			case REQ_MSGIN:

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] scsi/seagate.c: remove dead code, Adrian Bunk, (Sun Oct 28, 11:51 am)
Re: [2.6 patch] scsi/seagate.c: remove dead code, Boaz Harrosh, (Mon Oct 29, 5:44 am)
Re: [2.6 patch] scsi/seagate.c: remove dead code, Matthew Wilcox, (Sun Oct 28, 11:53 am)