Commit 349183aa authored by Frank Zago's avatar Frank Zago Committed by Greg Kroah-Hartman

staging: lustre: remove unnecessary EXPORT_SYMBOL from 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 1a9be843
...@@ -514,7 +514,6 @@ lnet_sock_listen(struct socket **sockp, __u32 local_ip, int local_port, ...@@ -514,7 +514,6 @@ lnet_sock_listen(struct socket **sockp, __u32 local_ip, int local_port,
sock_release(*sockp); sock_release(*sockp);
return rc; return rc;
} }
EXPORT_SYMBOL(lnet_sock_listen);
int int
lnet_sock_accept(struct socket **newsockp, struct socket *sock) lnet_sock_accept(struct socket **newsockp, struct socket *sock)
...@@ -558,7 +557,6 @@ lnet_sock_accept(struct socket **newsockp, struct socket *sock) ...@@ -558,7 +557,6 @@ lnet_sock_accept(struct socket **newsockp, struct socket *sock)
sock_release(newsock); sock_release(newsock);
return rc; return rc;
} }
EXPORT_SYMBOL(lnet_sock_accept);
int int
lnet_sock_connect(struct socket **sockp, int *fatal, __u32 local_ip, lnet_sock_connect(struct socket **sockp, int *fatal, __u32 local_ip,
...@@ -596,4 +594,3 @@ lnet_sock_connect(struct socket **sockp, int *fatal, __u32 local_ip, ...@@ -596,4 +594,3 @@ lnet_sock_connect(struct socket **sockp, int *fatal, __u32 local_ip,
sock_release(*sockp); sock_release(*sockp);
return rc; return rc;
} }
EXPORT_SYMBOL(lnet_sock_connect);
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