projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74525cc
)
tipc: remove unused tipc_link_is_active
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 17 Jul 2018 13:58:46 +0000
(21:58 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Jul 2018 20:48:46 +0000
(13:48 -0700)
tipc_link_is_active is no longer used and can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
patch
|
blob
|
history
diff --git
a/net/tipc/link.c
b/net/tipc/link.c
index df763be38541040406d2bd8a6712856947232e81..6987ffc8e7a1a9efc7a70a4785f91e3308557839 100644
(file)
--- a/
net/tipc/link.c
+++ b/
net/tipc/link.c
@@
-297,11
+297,6
@@
static bool link_is_bc_rcvlink(struct tipc_link *l)
return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l));
}
-int tipc_link_is_active(struct tipc_link *l)
-{
- return l->active;
-}
-
void tipc_link_set_active(struct tipc_link *l, bool active)
{
l->active = active;