mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 19:24:01 -04:00
staging: lnet: lib-lnet.h: checkpatch cleanup: remove unnecessary externs
Cc: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -572,7 +572,7 @@ lnet_peer_addref_locked(lnet_peer_t *lp)
|
||||
lp->lp_refcount++;
|
||||
}
|
||||
|
||||
extern void lnet_destroy_peer_locked(lnet_peer_t *lp);
|
||||
void lnet_destroy_peer_locked(lnet_peer_t *lp);
|
||||
|
||||
static inline void
|
||||
lnet_peer_decref_locked(lnet_peer_t *lp)
|
||||
@@ -642,11 +642,11 @@ lnet_net2rnethash(__u32 net)
|
||||
extern lnd_t the_lolnd;
|
||||
|
||||
|
||||
extern int lnet_cpt_of_nid_locked(lnet_nid_t nid);
|
||||
extern int lnet_cpt_of_nid(lnet_nid_t nid);
|
||||
extern lnet_ni_t *lnet_nid2ni_locked(lnet_nid_t nid, int cpt);
|
||||
extern lnet_ni_t *lnet_net2ni_locked(__u32 net, int cpt);
|
||||
extern lnet_ni_t *lnet_net2ni(__u32 net);
|
||||
int lnet_cpt_of_nid_locked(lnet_nid_t nid);
|
||||
int lnet_cpt_of_nid(lnet_nid_t nid);
|
||||
lnet_ni_t *lnet_nid2ni_locked(lnet_nid_t nid, int cpt);
|
||||
lnet_ni_t *lnet_net2ni_locked(__u32 net, int cpt);
|
||||
lnet_ni_t *lnet_net2ni(__u32 net);
|
||||
|
||||
int lnet_notify(lnet_ni_t *ni, lnet_nid_t peer, int alive, cfs_time_t when);
|
||||
void lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive, cfs_time_t when);
|
||||
|
||||
Reference in New Issue
Block a user