../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:691:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 691 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:750:9: note: uninitialized use occurs here 750 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:691:2: note: remove the 'if' if its condition is always false 691 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~~~~~~ 692 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:685:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 685 | if (!bn->tx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:750:9: note: uninitialized use occurs here 750 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:685:2: note: remove the 'if' if its condition is always false 685 | if (!bn->tx_ring) | ^~~~~~~~~~~~~~~~~ 686 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:668:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 668 | if (!bn->rx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:750:9: note: uninitialized use occurs here 750 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:668:2: note: remove the 'if' if its condition is always false 668 | if (!bn->rx_ring) | ^~~~~~~~~~~~~~~~~ 669 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:643:14: note: initialize the variable 'rc' to silence this warning 643 | int i, j, rc, size, arr_size; | ^ | = 0 3 warnings generated. ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:754:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 754 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:817:9: note: uninitialized use occurs here 817 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:754:2: note: remove the 'if' if its condition is always false 754 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~~~~~~ 755 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:748:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 748 | if (!bn->tx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:817:9: note: uninitialized use occurs here 817 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:748:2: note: remove the 'if' if its condition is always false 748 | if (!bn->tx_ring) | ^~~~~~~~~~~~~~~~~ 749 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:731:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 731 | if (!bn->rx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:817:9: note: uninitialized use occurs here 817 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:731:2: note: remove the 'if' if its condition is always false 731 | if (!bn->rx_ring) | ^~~~~~~~~~~~~~~~~ 732 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:706:14: note: initialize the variable 'rc' to silence this warning 706 | int i, j, rc, size, arr_size; | ^ | = 0 3 warnings generated.