summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2024-12-16 15:09:38 +0300
committerJakub Kicinski <kuba@kernel.org>2024-12-18 06:51:54 +0300
commit7433d022b915977a0e361a036aa06a0d382a9630 (patch)
tree6203c1dcff85a25e8da81ed2842e9e3a18823764 /tools/testing/selftests/net/lib/py/utils.py
parent18bdefe62439c75227021ddbbf6510aa2f2f4e54 (diff)
downloadlinux-7433d022b915977a0e361a036aa06a0d382a9630.tar.xz
net: usb: lan78xx: Use action-specific label in lan78xx_mac_reset
Rename the generic `done` label to the action-specific `exit_unlock` label in `lan78xx_mac_reset`. This improves clarity by indicating the specific cleanup action (mutex unlock) and aligns with best practices for error handling and cleanup labels. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> Link: https://patch.msgid.link/20241216120941.1690908-4-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions