[SCSI] libfc, fcoe: Don't EXPORT_SYMBOLS unnecessarily
authorRobert Love <robert.w.love@intel.com>
Wed, 21 Oct 2009 23:27:01 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:24 +0000 (12:00 -0600)
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>
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libfc/fc_frame.c
drivers/scsi/libfc/fc_rport.c

index c1c15748220cb4be8f7e15f42aee5a8c3df9c9d1..ae8f9e9ac9586477221e362bf7ca371688db1756 100644 (file)
@@ -422,7 +422,6 @@ int fc_seq_exch_abort(const struct fc_seq *req_sp, unsigned int timer_msec)
                error = -ENOBUFS;
        return error;
 }
-EXPORT_SYMBOL(fc_seq_exch_abort);
 
 /*
  * Exchange timeout - handle exchange timer expiration.
index e6c6f474236884afbc7b161898d2c6e86fd469e3..e613eb80d3a3e966aad117d5ffeb955485d700d1 100644 (file)
@@ -285,7 +285,6 @@ void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid)
                        fsp->xfer_ddp = xid;
        }
 }
-EXPORT_SYMBOL(fc_fcp_ddp_setup);
 
 /*
  * fc_fcp_ddp_done - calls to LLD's ddp_done to release any
index 63fe00cfe6674da452bf9052dccc5d02e81ed82b..ac3681ae68d91a53235f1717c84c7d074a6b53bc 100644 (file)
@@ -69,7 +69,6 @@ struct fc_frame *__fc_frame_alloc(size_t len)
 }
 EXPORT_SYMBOL(__fc_frame_alloc);
 
-
 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len)
 {
        struct fc_frame *fp;
index bdc973278d8d6c92deedc6befd457040cd79e037..1f795e4e4742e1234e06a6fd01b73bc9f5a0ecdf 100644 (file)
@@ -1565,13 +1565,11 @@ int fc_setup_rport(void)
                return -ENOMEM;
        return 0;
 }
-EXPORT_SYMBOL(fc_setup_rport);
 
 void fc_destroy_rport(void)
 {
        destroy_workqueue(rport_event_queue);
 }
-EXPORT_SYMBOL(fc_destroy_rport);
 
 void fc_rport_terminate_io(struct fc_rport *rport)
 {