]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: drop redundant Link::kind check
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Jul 2019 01:11:45 +0000 (10:11 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Jul 2019 07:47:16 +0000 (16:47 +0900)
commit500b96eb34adda950323e90189c262da3ece57c8
tree5ad42398ee5878ca419027e1cd3c70de84c51e55
parentb9109ff710f25b42b9a4287b701a7bb1faa0224d
network: drop redundant Link::kind check

All CAN devices' iftype are ARPHRD_CAN. So, checking Link::kind is
redundant.

Follow-up for c6ac3729c9ece63185a3c4e7bc1970b98d2feb01.
src/network/networkd-link.c