Some code smell fixes from sonarlint

This commit is contained in:
Jasmine Iwanek
2023-05-11 03:02:36 -04:00
parent d314255362
commit 6c1e4a8e2c
137 changed files with 3354 additions and 2900 deletions

View File

@@ -382,7 +382,6 @@ void dump_mappings(void)
void
t3100e_map_ram(uint8_t val)
{
int n;
int32_t upper_len;
#ifdef ENABLE_T3100E_LOG
@@ -433,7 +432,7 @@ t3100e_map_ram(uint8_t val)
mem_mapping_disable(&t3100e_ems.upper_mapping);
}
/* Recalculate EMS mappings */
for (n = 0; n < 4; n++) {
for (uint8_t n = 0; n < 4; n++) {
t3100e_ems_out(t3100e_ems_page_reg[n], t3100e_ems.page[n],
&t3100e_ems);
}