summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_fc.c
diff options
context:
space:
mode:
authorAdrian Bunk2007-07-09 20:59:59 +0200
committerJames Bottomley2007-07-18 18:16:32 +0200
commit44818efbad185eea75adad0e8cab97650a7370ab (patch)
tree0c0b3b856c390b1abb8071503d590dbb64731b1e /drivers/scsi/scsi_transport_fc.c
parent[SCSI] libsas: fix lockdep issue with ATA (diff)
downloadkernel-qcow2-linux-44818efbad185eea75adad0e8cab97650a7370ab.tar.gz
kernel-qcow2-linux-44818efbad185eea75adad0e8cab97650a7370ab.tar.xz
kernel-qcow2-linux-44818efbad185eea75adad0e8cab97650a7370ab.zip
[SCSI] small cleanups
This patch contains the following cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_fc.c')
-rw-r--r--drivers/scsi/scsi_transport_fc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index e8825709797e..47057254850d 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -2358,7 +2358,7 @@ fc_rport_final_delete(struct work_struct *work)
* Notes:
* This routine assumes no locks are held on entry.
**/
-struct fc_rport *
+static struct fc_rport *
fc_rport_create(struct Scsi_Host *shost, int channel,
struct fc_rport_identifiers *ids)
{