File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 83
83
33 data shreds point into the second fd_shred34_t. Similar for the
84
84
parity shreds pointing into the third and fourth fd_shred34_t. */
85
85
86
- /* There's nothing deep about this max, but I just find it easier to
87
- have a max and use statically sized arrays than alloca. */
88
- #define MAX_BANK_CNT 64UL
89
-
90
86
#define FD_SHRED_TILE_SCRATCH_ALIGN 128UL
91
87
92
88
#define IN_KIND_CONTACT (0UL)
@@ -1082,12 +1078,6 @@ unprivileged_init( fd_topo_t * topo,
1082
1078
if ( FD_UNLIKELY ( !tile -> shred .fec_resolver_depth ) ) FD_LOG_ERR (( "fec_resolver_depth not set" ));
1083
1079
if ( FD_UNLIKELY ( !tile -> shred .shred_listen_port ) ) FD_LOG_ERR (( "shred_listen_port not set" ));
1084
1080
1085
- ulong bank_cnt = fd_topo_tile_name_cnt ( topo , "bank" );
1086
- ulong replay_cnt = fd_topo_tile_name_cnt ( topo , "replay" );
1087
-
1088
- if ( FD_UNLIKELY ( !bank_cnt && !replay_cnt ) ) FD_LOG_ERR (( "0 bank/replay tiles" ));
1089
- if ( FD_UNLIKELY ( bank_cnt > MAX_BANK_CNT ) ) FD_LOG_ERR (( "Too many banks" ));
1090
-
1091
1081
void * _stake_ci = FD_SCRATCH_ALLOC_APPEND ( l , fd_stake_ci_align (), fd_stake_ci_footprint () );
1092
1082
void * _resolver = FD_SCRATCH_ALLOC_APPEND ( l , fd_fec_resolver_align (), fec_resolver_footprint );
1093
1083
void * _shredder = FD_SCRATCH_ALLOC_APPEND ( l , fd_shredder_align (), fd_shredder_footprint () );
You can’t perform that action at this time.
0 commit comments