mirror of
https://github.com/fhgwright/SCSI2SD.git
synced 2025-04-10 01:37:07 +00:00
Remove unused method
This commit is contained in:
parent
6142a27cc9
commit
b6bac91911
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user