../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:276:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 276 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:315:9: note: uninitialized use occurs here 315 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:276:2: note: remove the 'if' if its condition is always false 276 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~~~~~~ 277 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:270:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 270 | if (!bn->tx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:315:9: note: uninitialized use occurs here 315 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:270:2: note: remove the 'if' if its condition is always false 270 | if (!bn->tx_ring) | ^~~~~~~~~~~~~~~~~ 271 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:253:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 253 | if (!bn->rx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:315:9: note: uninitialized use occurs here 315 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:253:2: note: remove the 'if' if its condition is always false 253 | if (!bn->rx_ring) | ^~~~~~~~~~~~~~~~~ 254 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:228:14: note: initialize the variable 'rc' to silence this warning 228 | int i, j, rc, size, arr_size; | ^ | = 0 3 warnings generated. ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:504:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 504 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:552:9: note: uninitialized use occurs here 552 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:504:2: note: remove the 'if' if its condition is always false 504 | if (!bn->tx_ring_map) | ^~~~~~~~~~~~~~~~~~~~~ 505 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:498:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 498 | if (!bn->tx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:552:9: note: uninitialized use occurs here 552 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:498:2: note: remove the 'if' if its condition is always false 498 | if (!bn->tx_ring) | ^~~~~~~~~~~~~~~~~ 499 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:481:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 481 | if (!bn->rx_ring) | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:552:9: note: uninitialized use occurs here 552 | return rc; | ^~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:481:2: note: remove the 'if' if its condition is always false 481 | if (!bn->rx_ring) | ^~~~~~~~~~~~~~~~~ 482 | goto err_free_core; | ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnge/bnge_netdev.c:456:14: note: initialize the variable 'rc' to silence this warning 456 | int i, j, rc, size, arr_size; | ^ | = 0 3 warnings generated.