From: akpm@osdl.org Subject: [patch 16/19] make drivers/scsi/aic7xxx/aic79xx_core.:ahd_set_tags() static Date: Fri, 07 Jul 2006 00:02:17 -0700 Message-ID: <200607070702.k6772HRu030648@shell0.pdx.osdl.net> Return-path: Received: from smtp.osdl.org ([65.172.181.4]:61636 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751247AbWGGHFd (ORCPT ); Fri, 7 Jul 2006 03:05:33 -0400 Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James.Bottomley@steeleye.com Cc: linux-scsi@vger.kernel.org, akpm@osdl.org, bunk@stusta.de From: Adrian Bunk ahd_set_tags() can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- drivers/scsi/aic7xxx/aic79xx.h | 5 ----- drivers/scsi/aic7xxx/aic79xx_core.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff -puN drivers/scsi/aic7xxx/aic79xx_core.c~make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static drivers/scsi/aic7xxx/aic79xx_core.c --- a/drivers/scsi/aic7xxx/aic79xx_core.c~make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static +++ a/drivers/scsi/aic7xxx/aic79xx_core.c @@ -3877,7 +3877,7 @@ ahd_set_width(struct ahd_softc *ahd, str /* * 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) { diff -puN drivers/scsi/aic7xxx/aic79xx.h~make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static drivers/scsi/aic7xxx/aic79xx.h --- a/drivers/scsi/aic7xxx/aic79xx.h~make-drivers-scsi-aic7xxx-aic79xx_coreahd_set_tags-static +++ a/drivers/scsi/aic7xxx/aic79xx.h @@ -1427,11 +1427,6 @@ typedef enum { 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 *, _