OSDN Git Service

nfp: flower: correction of error handling
authorYu Xiao <yu.xiao@corigine.com>
Fri, 19 Nov 2021 08:58:01 +0000 (09:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Nov 2021 14:15:25 +0000 (14:15 +0000)
commiteaa54d66145e4314eb785a507341a7c8b13f6df8
tree8c3b3d71c51d1e3a16a46f4a732520e99ff06207
parent812ad3d270cb900d156a1542360d81f749dbe040
nfp: flower: correction of error handling

Removing reduplicated error handling when running into error path
of `nfp_compile_flow_metadata`.

Signed-off-by: Yu Xiao <yu.xiao@corigine.com>
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/metadata.c