Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09396b3
)
- removed used function lnet_nid_alive_locked.
author
isaac
<isaac>
Thu, 19 Feb 2009 20:03:54 +0000
(20:03 +0000)
committer
isaac
<isaac>
Thu, 19 Feb 2009 20:03:54 +0000
(20:03 +0000)
lnet/lnet/lib-move.c
patch
|
blob
|
history
diff --git
a/lnet/lnet/lib-move.c
b/lnet/lnet/lib-move.c
index
faea561
..
9d50747
100644
(file)
--- a/
lnet/lnet/lib-move.c
+++ b/
lnet/lnet/lib-move.c
@@
-968,25
+968,6
@@
lnet_peer_alive_locked (lnet_peer_t *lp)
return 0;
}
return 0;
}
-/* NB: returns 1 when alive, 0 when dead, negative when error;
- * may drop the LNET_LOCK */
-int
-lnet_nid_alive_locked (lnet_nid_t nid)
-{
- int rc;
- lnet_peer_t *lp;
-
- rc = lnet_nid2peer_locked(&lp, nid);
- if (rc != 0) {
- CERROR("Error %d looking up %s\n", rc, libcfs_nid2str(nid));
- return -ENOENT;
- }
-
- rc = lnet_peer_alive_locked(lp);
- lnet_peer_decref_locked(lp);
- return rc;
-}
-
int
lnet_post_send_locked (lnet_msg_t *msg, int do_send)
{
int
lnet_post_send_locked (lnet_msg_t *msg, int do_send)
{