Remove unused method

This commit is contained in:
Michael McMaster 2021-03-18 21:01:36 +10:00
parent 6142a27cc9
commit b6bac91911
3 changed files with 0 additions and 16 deletions

View File

@ -567,18 +567,3 @@ const S2S_TargetCfg* getConfigByIndex(int i)
);
}
}
const S2S_TargetCfg* getConfigById(int scsiId)
{
int i;
for (i = 0; i < MAX_SCSI_TARGETS; ++i)
{
const S2S_TargetCfg* tgt = getConfigByIndex(i);
if ((tgt->scsiId & CONFIG_TARGET_ID_BITS) == scsiId)
{
return tgt;
}
}
return NULL;
}

View File

@ -26,6 +26,5 @@ void configPoll(void);
void configSave(int scsiId, uint16_t byesPerSector);
const S2S_TargetCfg* getConfigByIndex(int index);
const S2S_TargetCfg* getConfigById(int scsiId);
#endif