mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
NMC 93cXX EEPROM: Remove the left-over NULL check in nmc_93cxx_eeperom_data().
This commit is contained in:
@@ -265,8 +265,6 @@ nmc93cxx_eeprom_close(void *priv)
|
||||
uint16_t *
|
||||
nmc93cxx_eeprom_data(nmc93cxx_eeprom_t *eeprom)
|
||||
{
|
||||
if (UNLIKELY(eeprom == NULL))
|
||||
return NULL;
|
||||
/* Get EEPROM data array. */
|
||||
return &eeprom->dev.data[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user