remove an unused function from wd7000.c
PATCH 1/1 remove an unused function from wd7000.c
From: Adrian Bunk <[email protected]>
The patch below removes an unused function from drivers/scsi/wd7000.c .
I've tested the compilation with 2.5.72-mm2.
cu
Adrian
drivers/scsi/wd7000.c renamed from drivers/scsi/wd7000.c.orig +0 -16
@@ -1605,22 +1605,6 @@ }/* -* I have absolutely NO idea how to do an abort with the WD7000... -*/ -static int wd7000_abort (Scsi_Cmnd * SCpnt) -{ -Adapter *host = (Adapter *) SCpnt->device->host->hostdata; - -if (inb (host->iobase +ASC_STAT ) &INT_IM ) { -printk ("wd7000_abort: lost interrupt\n" ); -wd7000_intr_handle (host->irq,NULL ,NULL ); -return FAILED ; - } -return FAILED ; -} - - -/* * I also have no idea how to do a reset... */
Signature · 3 lines
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/ Don't blame me: the Monkey is driving File: Adrian Bunk <[email protected]>: [2.5 patch] remove an unused function from wd7000.c
Quoted 5 lines · Rusty Trivial Russell
From: Adrian Bunk <[email protected]>
The patch below removes an unused function from
drivers/scsi/wd7000.c.I've tested the compilation with 2.5.72-mm2.
Alan said he wanted to keep this for some reason. Maybe #if 0 it out?
Quoted 5 lines · Christoph Hellwig
Quoted 3 lines
The patch below removes an unused function from
drivers/scsi/wd7000.c.I've tested the compilation with 2.5.72-mm2.
Alan said he wanted to keep this for some reason. Maybe #if 0 it out?
Because it needs converting to an eh_abort handler otherwise the card will hang if you try and do anything much useful with it.
Quoted 10 lines · Christoph Hellwig
Quoted 5 lines
Quoted 3 lines
The patch below removes an unused function from
drivers/scsi/wd7000.c.I've tested the compilation with 2.5.72-mm2.
Alan said he wanted to keep this for some reason. Maybe #if 0 it out?
Because it needs converting to an
eh_aborthandler otherwise the card will hang if you try and do anything much useful with it.
Hello. I will make some effort to convert function to eh_abort handler, very soon. I'm sorry for late answer and bad english.
Signature · 3 lines
Zaga Honi soit qui mal y pense.