../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:623:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 623 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:682:9: note: uninitialized use occurs here 682 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:623:2: note: remove the 'if' if its condition is always false 623 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~~~~~~ 624 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:617:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 617 | if (!bn->tx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:682:9: note: uninitialized use occurs here 682 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:617:2: note: remove the 'if' if its condition is always false 617 | if (!bn->tx_ring) | ^~~~~~~~~~~~~~~~~ 618 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:600:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 600 | if (!bn->rx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:682:9: note: uninitialized use occurs here 682 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:600:2: note: remove the 'if' if its condition is always false 600 | if (!bn->rx_ring) | ^~~~~~~~~~~~~~~~~ 601 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:575:14: note: initialize the variable 'rc' to silence this warning 575 | int i, j, rc, size, arr_size; | ^ | = 0 3 warnings generated. ../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.