public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Denis Vlasenko <vda.linux@googlemail.com>
To: linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] aic7xxx: remove excessive inlining
Date: Sun, 13 Aug 2006 15:05:49 +0200	[thread overview]
Message-ID: <200608131505.49995.vda.linux@googlemail.com> (raw)
In-Reply-To: <200608131503.07987.vda.linux@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

On Sunday 13 August 2006 15:03, Denis Vlasenko wrote:
> On Sunday 13 August 2006 15:02, Denis Vlasenko wrote:
> > Basically, patches deinline some functions, mainly those
> > which perform port I/O.
> 
> ahd_suspend/resume are not used. #ifdef them out.

I forgot to attach the file. :(
--
vda

[-- Attachment #2: 3.UNUSED.diff --]
[-- Type: text/x-diff, Size: 1130 bytes --]

diff -urpN -U4 linux-2.6.17.8.aic2/drivers/scsi/aic7xxx/aic79xx_core.c linux-2.6.17.8.aic3/drivers/scsi/aic7xxx/aic79xx_core.c
--- linux-2.6.17.8.aic2/drivers/scsi/aic7xxx/aic79xx_core.c	2006-08-13 12:01:38.000000000 +0200
+++ linux-2.6.17.8.aic3/drivers/scsi/aic7xxx/aic79xx_core.c	2006-08-13 12:01:42.000000000 +0200
@@ -7681,8 +7681,9 @@ ahd_pause_and_flushwork(struct ahd_softc
 
 	ahd->flags &= ~AHD_ALL_INTERRUPTS;
 }
 
+#ifdef UNUSED
 int
 ahd_suspend(struct ahd_softc *ahd)
 {
 
@@ -7704,16 +7705,17 @@ ahd_resume(struct ahd_softc *ahd)
 	ahd_intr_enable(ahd, TRUE); 
 	ahd_restart(ahd);
 	return (0);
 }
+#endif
 
 /************************** Busy Target Table *********************************/
 /*
  * Set SCBPTR to the SCB that contains the busy
  * table entry for TCL.  Return the offset into
  * the SCB that contains the entry for TCL.
  * saved_scbid is dereferenced and set to the
- * scbid that should be restored once manipualtion
+ * scbid that should be restored once manipulation
  * of the TCL entry is complete.
  */
 static u_int
 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)

  reply	other threads:[~2006-08-13 13:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-13 12:57 [PATCH 0/4] aic7xxx: remove excessive inlining Denis Vlasenko
2006-08-13 12:58 ` [PATCH 1/4] " Denis Vlasenko
2006-08-13 13:02   ` [PATCH 2/4] " Denis Vlasenko
2006-08-13 13:03     ` [PATCH 3/4] " Denis Vlasenko
2006-08-13 13:05       ` Denis Vlasenko [this message]
2006-08-13 13:05       ` [PATCH 4/4] " Denis Vlasenko
2006-08-14 23:14 ` [PATCH 0/4] " Andrew Morton
2006-08-14 23:25   ` Randy.Dunlap
2006-08-15 16:20     ` Denis Vlasenko

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=200608131505.49995.vda.linux@googlemail.com \
    --to=vda.linux@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /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