]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bc384be08f71ff0cc6963cc7c9c5e14a7d050b0
tree4e4ac60742be4de5dba8aacdf08e2f446d3e88f9
parent15c56d7b7e8264151112ef371be55e857f0763d7
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