firewire: core: code refactoring whether root node is cycle master capable
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 8 Sep 2025 01:21:08 +0000 (10:21 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 8 Sep 2025 01:26:26 +0000 (10:26 +0900)
commita4bac55d99d37976209e2fc2c32bd3dfc86b0447
tree4993b2a8bacbe05018389c2c4b31d6604ca7a0e3
parentcae2d92cdcae3f2f4510feb631661e86a26da55e
firewire: core: code refactoring whether root node is cycle master capable

The check of cycle master capability in root node is currently just in a
condition branch. In this case, the required variable should be within the
branch.

This commit is just for the purpose.

Link: https://lore.kernel.org/r/20250908012108.514698-12-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-card.c