]> www.infradead.org Git - users/willy/xarray.git/commit
tipc: Consolidate redundant functions
authorShigeru Yoshida <syoshida@redhat.com>
Tue, 9 Jul 2024 14:36:32 +0000 (23:36 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2024 02:47:43 +0000 (03:47 +0100)
commitb6c67967897e2e02482f7bbd26232090a6e30ae5
treeaeaaef81e17e245faa8f7d9666da56a0d12619d7
parent534ea0a95e2d7b31eb1e1248d04edaffed75e366
tipc: Consolidate redundant functions

link_is_up() and tipc_link_is_up() have the same functionality.
Consolidate these functions.

Signed-off-by: Shigeru Yoshida <syoshida@redhat.com>
Reviewed-by: Tung Nguyen <tung.q.nguyen@endava.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c