staging: lustre: remove unnecessary EXPORT_SYMBOL for lnet layer
authorfrank zago <fzago@cray.com>
Sun, 8 Nov 2015 23:09:36 +0000 (18:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 23:38:00 +0000 (15:38 -0800)
A lot of symbols don't need to be exported at all because they are
only used in the module they belong to.

Signed-off-by: frank zago <fzago@cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5829
Reviewed-on: http://review.whamcloud.com/13320
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/api-ni.c
drivers/staging/lustre/lnet/lnet/lib-move.c
drivers/staging/lustre/lnet/selftest/conctl.c

index 284150f53f7dbf82618148df23ac6701fd8b4c69..9f78dc8d7a26784a9265e4ec3d0e53e59d233566 100644 (file)
@@ -354,7 +354,6 @@ lnet_counters_reset(void)
 
        lnet_net_unlock(LNET_LOCK_EX);
 }
-EXPORT_SYMBOL(lnet_counters_reset);
 
 static char *
 lnet_res_type2str(int type)
@@ -1153,7 +1152,6 @@ lnet_init(void)
        lnet_register_lnd(&the_lolnd);
        return 0;
 }
-EXPORT_SYMBOL(lnet_init);
 
 /**
  * Finalize LNet library.
@@ -1177,7 +1175,6 @@ lnet_fini(void)
 
        the_lnet.ln_init = 0;
 }
-EXPORT_SYMBOL(lnet_fini);
 
 /**
  * Set LNet PID and start LNet interfaces, routing, and forwarding.
index 5631f60a39bc8ffe3487b79275be799e85f19b56..03a721e1bb3dabc0279cba871fd875c1252a67cc 100644 (file)
@@ -1645,7 +1645,6 @@ lnet_msgtyp2str(int type)
                return "<UNKNOWN>";
        }
 }
-EXPORT_SYMBOL(lnet_msgtyp2str);
 
 void
 lnet_print_hdr(lnet_hdr_t *hdr)
index 556c837cf62cd8f1f0d3f0cd25299f73ebfa2160..a534665403e57abcb838a96983399f61d8da3355 100644 (file)
@@ -925,5 +925,3 @@ out:
 
        return rc;
 }
-
-EXPORT_SYMBOL(lstcon_ioctl_entry);