public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Trivial Russell <trivial@rustcorp.com.au>
To: John Boyd <boyd@cis.ohio-state.edu>,
	Miroslav Zagorac <zaga@fly.cc.fer.hr>,
	linux-scsi@vger.kernel.org, axboe@suse.de
Subject: [TRIVIAL] [2.5 patch] remove an unused function from wd7000.c
Date: Thu, 04 Sep 2003 13:12:12 +1000	[thread overview]
Message-ID: <20030904033018.C07B42C10E@lists.samba.org> (raw)

From:  Adrian Bunk <bunk@fs.tum.de>

  The patch below removes an unused function from drivers/scsi/wd7000.c .
  
  I've tested the compilation with 2.5.72-mm2.
  
  cu
  Adrian
  

--- trivial-2.6.0-test4-bk5/drivers/scsi/wd7000.c.orig	2003-09-04 13:01:35.000000000 +1000
+++ trivial-2.6.0-test4-bk5/drivers/scsi/wd7000.c	2003-09-04 13:01:35.000000000 +1000
@@ -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...
  */
 
-- 
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Adrian Bunk <bunk@fs.tum.de>: [2.5 patch] remove an unused function from wd7000.c

             reply	other threads:[~2003-09-04  3:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04  3:12 Rusty Trivial Russell [this message]
2003-09-04  7:27 ` [TRIVIAL] [2.5 patch] remove an unused function from wd7000.c Christoph Hellwig
2003-09-04 10:09   ` Alan Cox
2003-09-06  6:51     ` Miroslav Zagorac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030904033018.C07B42C10E@lists.samba.org \
    --to=trivial@rustcorp.com.au \
    --cc=axboe@suse.de \
    --cc=boyd@cis.ohio-state.edu \
    --cc=linux-scsi@vger.kernel.org \
    --cc=zaga@fly.cc.fer.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox