File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -1134,8 +1134,6 @@ static void i5000_get_mc_regs(struct mem_ctl_info *mci)
1134
1134
u32 actual_tolm ;
1135
1135
u16 limit ;
1136
1136
int slot_row ;
1137
- int maxch ;
1138
- int maxdimmperch ;
1139
1137
int way0 , way1 ;
1140
1138
1141
1139
pvt = mci -> pvt_info ;
@@ -1145,9 +1143,6 @@ static void i5000_get_mc_regs(struct mem_ctl_info *mci)
1145
1143
pci_read_config_dword (pvt -> system_address , AMBASE + sizeof (u32 ),
1146
1144
& pvt -> u .ambase_top );
1147
1145
1148
- maxdimmperch = pvt -> maxdimmperch ;
1149
- maxch = pvt -> maxch ;
1150
-
1151
1146
edac_dbg (2 , "AMBASE= 0x%lx MAXCH= %d MAX-DIMM-Per-CH= %d\n" ,
1152
1147
(long unsigned int )pvt -> ambase , pvt -> maxch , pvt -> maxdimmperch );
1153
1148
@@ -1253,16 +1248,14 @@ static int i5000_init_csrows(struct mem_ctl_info *mci)
1253
1248
{
1254
1249
struct i5000_pvt * pvt ;
1255
1250
struct dimm_info * dimm ;
1256
- int empty , channel_count ;
1251
+ int empty ;
1257
1252
int max_csrows ;
1258
1253
int mtr ;
1259
1254
int csrow_megs ;
1260
1255
int channel ;
1261
1256
int slot ;
1262
1257
1263
1258
pvt = mci -> pvt_info ;
1264
-
1265
- channel_count = pvt -> maxch ;
1266
1259
max_csrows = pvt -> maxdimmperch * 2 ;
1267
1260
1268
1261
empty = 1 ; /* Assume NO memory */
You can’t perform that action at this time.
0 commit comments