OSDN Git Service

ethernet/sfc: remove redundant rc variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 4 Jan 2022 11:35:43 +0000 (11:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jan 2022 12:41:41 +0000 (12:41 +0000)
commit416b27439df9ecb36b03da63dc37a8840b6f2efe
tree4e4ac60742be4de5dba8aacdf08e2f446d3e88f9
parenta0619a9e9e3f557a16dd9c60a76ddd4519e225e9
ethernet/sfc: remove redundant rc variable

Return value from efx_mcdi_rpc() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi_port_common.c