Commit 82224549 authored by frank zago's avatar frank zago Committed by Greg Kroah-Hartman

staging: lustre: remove unnecessary EXPORT_SYMBOL for lnet layer

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: default avatarfrank zago <fzago@cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5829
Reviewed-on: http://review.whamcloud.com/13320Reviewed-by: default avatarJames Simmons <uja.ornl@gmail.com>
Reviewed-by: default avatarIsaac Huang <he.huang@intel.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 524576d1
...@@ -354,7 +354,6 @@ lnet_counters_reset(void) ...@@ -354,7 +354,6 @@ lnet_counters_reset(void)
lnet_net_unlock(LNET_LOCK_EX); lnet_net_unlock(LNET_LOCK_EX);
} }
EXPORT_SYMBOL(lnet_counters_reset);
static char * static char *
lnet_res_type2str(int type) lnet_res_type2str(int type)
...@@ -1153,7 +1152,6 @@ lnet_init(void) ...@@ -1153,7 +1152,6 @@ lnet_init(void)
lnet_register_lnd(&the_lolnd); lnet_register_lnd(&the_lolnd);
return 0; return 0;
} }
EXPORT_SYMBOL(lnet_init);
/** /**
* Finalize LNet library. * Finalize LNet library.
...@@ -1177,7 +1175,6 @@ lnet_fini(void) ...@@ -1177,7 +1175,6 @@ lnet_fini(void)
the_lnet.ln_init = 0; the_lnet.ln_init = 0;
} }
EXPORT_SYMBOL(lnet_fini);
/** /**
* Set LNet PID and start LNet interfaces, routing, and forwarding. * Set LNet PID and start LNet interfaces, routing, and forwarding.
......
...@@ -1645,7 +1645,6 @@ lnet_msgtyp2str(int type) ...@@ -1645,7 +1645,6 @@ lnet_msgtyp2str(int type)
return "<UNKNOWN>"; return "<UNKNOWN>";
} }
} }
EXPORT_SYMBOL(lnet_msgtyp2str);
void void
lnet_print_hdr(lnet_hdr_t *hdr) lnet_print_hdr(lnet_hdr_t *hdr)
......
...@@ -925,5 +925,3 @@ lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data) ...@@ -925,5 +925,3 @@ lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data)
return rc; return rc;
} }
EXPORT_SYMBOL(lstcon_ioctl_entry);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment