aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-10-21 19:27:01 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 13:00:24 -0500
commit473e28563fbb038515d4616546297483d3727c02 (patch)
tree27b9a689e83cf435066da43632e2a934c121f30e
parentb04d023cf5b7f4113cc4a09405c2fe8003bfe37d (diff)
[SCSI] libfc, fcoe: Don't EXPORT_SYMBOLS unnecessarily
These are a few functions that were not used by other modules. They did not need to be exported so this patch removes the EXPORT_SYMBOLS call for each. Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/libfc/fc_exch.c1
-rw-r--r--drivers/scsi/libfc/fc_fcp.c1
-rw-r--r--drivers/scsi/libfc/fc_frame.c1
-rw-r--r--drivers/scsi/libfc/fc_rport.c2
4 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index c1c15748220c..ae8f9e9ac958 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -422,7 +422,6 @@ int fc_seq_exch_abort(const struct fc_seq *req_sp, unsigned int timer_msec)
422 error = -ENOBUFS; 422 error = -ENOBUFS;
423 return error; 423 return error;
424} 424}
425EXPORT_SYMBOL(fc_seq_exch_abort);
426 425
427/* 426/*
428 * Exchange timeout - handle exchange timer expiration. 427 * Exchange timeout - handle exchange timer expiration.
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c
index e6c6f4742368..e613eb80d3a3 100644
--- a/drivers/scsi/libfc/fc_fcp.c
+++ b/drivers/scsi/libfc/fc_fcp.c
@@ -285,7 +285,6 @@ void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid)
285 fsp->xfer_ddp = xid; 285 fsp->xfer_ddp = xid;
286 } 286 }
287} 287}
288EXPORT_SYMBOL(fc_fcp_ddp_setup);
289 288
290/* 289/*
291 * fc_fcp_ddp_done - calls to LLD's ddp_done to release any 290 * fc_fcp_ddp_done - calls to LLD's ddp_done to release any
diff --git a/drivers/scsi/libfc/fc_frame.c b/drivers/scsi/libfc/fc_frame.c
index 63fe00cfe667..ac3681ae68d9 100644
--- a/drivers/scsi/libfc/fc_frame.c
+++ b/drivers/scsi/libfc/fc_frame.c
@@ -69,7 +69,6 @@ struct fc_frame *__fc_frame_alloc(size_t len)
69} 69}
70EXPORT_SYMBOL(__fc_frame_alloc); 70EXPORT_SYMBOL(__fc_frame_alloc);
71 71
72
73struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len) 72struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len)
74{ 73{
75 struct fc_frame *fp; 74 struct fc_frame *fp;
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c
index bdc973278d8d..1f795e4e4742 100644
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -1565,13 +1565,11 @@ int fc_setup_rport(void)
1565 return -ENOMEM; 1565 return -ENOMEM;
1566 return 0; 1566 return 0;
1567} 1567}
1568EXPORT_SYMBOL(fc_setup_rport);
1569 1568
1570void fc_destroy_rport(void) 1569void fc_destroy_rport(void)
1571{ 1570{
1572 destroy_workqueue(rport_event_queue); 1571 destroy_workqueue(rport_event_queue);
1573} 1572}
1574EXPORT_SYMBOL(fc_destroy_rport);
1575 1573
1576void fc_rport_terminate_io(struct fc_rport *rport) 1574void fc_rport_terminate_io(struct fc_rport *rport)
1577{ 1575{