[-mm patch] make drivers/scsi/aic7xxx/aic79xx_core.:ahd_set_tags() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 27, 2006 at 01:52:11AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-mm2:
>...
>  git-scsi-misc.patch
>...
>  git trees.
>...

ahd_set_tags() can now become static.

Signed-off-by: Adrian Bunk <[email protected]>

---

 drivers/scsi/aic7xxx/aic79xx.h      |    5 -----
 drivers/scsi/aic7xxx/aic79xx_core.c |    2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

--- linux-2.6.17-mm3-full/drivers/scsi/aic7xxx/aic79xx.h.old	2006-06-27 17:46:00.000000000 +0200
+++ linux-2.6.17-mm3-full/drivers/scsi/aic7xxx/aic79xx.h	2006-06-27 17:46:08.000000000 +0200
@@ -1427,11 +1427,6 @@
 	AHD_QUEUE_TAGGED
 } ahd_queue_alg;
 
-void			ahd_set_tags(struct ahd_softc *ahd,
-				     struct scsi_cmnd *cmd,
-				     struct ahd_devinfo *devinfo,
-				     ahd_queue_alg alg);
-
 /**************************** Target Mode *************************************/
 #ifdef AHD_TARGET_MODE
 void		ahd_send_lstate_events(struct ahd_softc *,
--- linux-2.6.17-mm3-full/drivers/scsi/aic7xxx/aic79xx_core.c.old	2006-06-27 17:46:17.000000000 +0200
+++ linux-2.6.17-mm3-full/drivers/scsi/aic7xxx/aic79xx_core.c	2006-06-27 17:46:27.000000000 +0200
@@ -3877,7 +3877,7 @@
 /*
  * Update the current state of tagged queuing for a given target.
  */
-void
+static void
 ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd,
 	     struct ahd_devinfo *devinfo, ahd_queue_alg alg)
 {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux