Closed yshigeru closed 4 months ago
link.cの以下の2つの関数を1つにまとめる:
static int link_is_up(struct tipc_link *l) { return l->state & (LINK_ESTABLISHED | LINK_SYNCHING); } [...] bool tipc_link_is_up(struct tipc_link *l) { return link_is_up(l); }
Sent v1 patch: https://lore.kernel.org/all/20240709143632.352656-1-syoshida@redhat.com/
Merged on the net-next tree: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=b6c67967897e2e02482f7bbd26232090a6e30ae5
link.cの以下の2つの関数を1つにまとめる: