net: sparx5: flower: remove goto in sparx5_tc_flower_handler_control_usage()
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Wed, 24 Apr 2024 12:16:24 +0000 (12:16 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Apr 2024 02:35:08 +0000 (19:35 -0700)
commitb92eb1ac13f069f188b733709afabc26049bf6bf
tree146aa111a88adac582676150e357c960e83e5caa
parent8cd1b6c0bf3170cd90bbe691546333d9a29c3419
net: sparx5: flower: remove goto in sparx5_tc_flower_handler_control_usage()

Remove goto, as it's only used once, and the error message is
specific to that context.

Only compile tested.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Tested-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20240424121632.459022-4-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c