net: lan743x: Remove extranous gotos
authorMoritz Fischer <moritzf@google.com>
Fri, 2 Jun 2023 00:04:14 +0000 (00:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2023 09:48:48 +0000 (10:48 +0100)
commit0f0f5868689ecbf643b723fae1a353c5a11a8e46
tree1e56707599211a52796295d32869539242e7b6ec
parenta92fb5c0340411c66b48f66b6b8854f271e4ca8d
net: lan743x: Remove extranous gotos

The gotos for cleanup aren't required, the function
might as well just return the actual error code.

Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_main.c