]> git.ipfire.org Git - thirdparty/linux.git/commit
thunderbolt: Rework tb_tunnel_consumed_bandwidth()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 26 Aug 2024 12:04:27 +0000 (15:04 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 3 Jan 2025 09:50:08 +0000 (11:50 +0200)
commita70cd9cddeb2836377547efa9d76b391556ae687
tree02e4a2cfe0e8936adbeb68a27002b97a77b0ecb8
parent5ae367748f157355f0fab2662917e8800eb21d41
thunderbolt: Rework tb_tunnel_consumed_bandwidth()

Rework to avoid the goto as it only makes it confusing. Move logging to
happen at the end so we can see all the tunnels this is being called.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tunnel.c